#7F51B8

Purple

HEX

RGB

HSL

About #7F51B8 Purple

#7F51B8 is a purple color. In the RGB color model, it is composed of 127 red, 81 green, and 184 blue. In the HSL color space, it has a hue of 267°, saturation of 42%, and lightness of 52%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #7F51B8 in your CSS, SCSS, or Tailwind projects.

Color Properties

267°

Hue

42%

Saturation

52%

Lightness

Purple

Color Harmonies

Colors that work well with #7F51B8 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #7F51B8 against white and black backgrounds.

Aa#7F51B8 on White
Contrast Ratio5.57:1
AA AA Large AAA
Aa#7F51B8 on Black
Contrast Ratio3.77:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #7F51B8 across different color formats.

FormatValue
HEX#7F51B8
RGBrgb(127, 81, 184)
HSLhsl(267, 42%, 52%)
RGB Decimal127, 81, 184
RGB Percent49.8%, 31.8%, 72.2%
CMYK (approx.)31%, 56%, 0%, 28%

Related Palettes

12 palettes using #7F51B8 or similar colors

#7292D8#8255BE#C577B7#D76E75
#6688CB#7645BC#D378C3#BE656D
#72CDCD#5C79D1#884BC6#C679B3
#894AC7#C951AB#C87878#CDB364
#41BFAD#527CBA#7B50CB#BE67B6
#78C881#74C8BD#708FC2#845CC9
#68D5C6#6E94D1#8053CD#CC50BD
#6696CD#7E61C7#C972C6#C44B65
#1D0F24#3E254B#5F3B72#8541AA
#3498DB#2980B9#9B59B6#8E44AD
#8E44AD#9B59B6#E74C3C#C0392B
#9B59B6#8E44AD#34495E#2C3E50