#7F4CD5#7F4CD5
#7F4CD5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.200 H 296.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CD5 |
|---|---|
| RGB | rgb(127, 76, 213) |
| HSL | hsl(262, 62%, 57%) |
| HSV | hsv(262, 64%, 84%) |
| CMYK | cmyk(40.4%, 64.3%, 0%, 16.5%) |
| CIE-LAB | lab(44.92, 50.54, -62.94) |
| CIE-LCH | lch(44.92, 80.72, 308.76°) |
| OKLab | oklab(54.71% 0.0886 -0.1795) |
| OKLCH | oklch(54.71% 0.2 296.3) |
| XYZ | xyz(23.3439, 14.4845, 64.5038) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.84
Bluish Purple
#703BE7
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.49
Blueviolet
#8A2BE2
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CD5 #A2D54C
analogous
#4C5ED5 #7F4CD5 #C44CD5
triadic
#7F4CD5 #D57F4C #4CD57F
tetradic
#7F4CD5 #D54C5E #A2D54C #4CD5C4
square
#7F4CD5 #D54C5E #A2D54C #4CD5C4
split-complementary
#7F4CD5 #D5C44C #5ED54C
monochromatic
#462087 #602BB9 #7F4CD5 #A27EE1 #C6AFEC
Accessibility & contrast
On white
5.39
#7F4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7F4CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CD5
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CD5 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#696C8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f4cd5; /* rgb */ color: rgb(127, 76, 213); /* oklch */ color: oklch(54.7% 0.200 296.3);
Tailwind
colors: {
custom: {
50: '#aa81e3',
500: '#7f4cd5',
950: '#000000',
},
}SCSS
$custom: #7f4cd5; $custom-light: #aa81e3; $custom-dark: #000000;
JSON
{
"hex": "#7f4cd5",
"rgb": {
"r": 127,
"g": 76,
"b": 213
},
"hsl": {
"h": 262.336,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.54706,
"c": 0.20018,
"h": 296.3
},
"luminance": 0.14485
}Semantic roles & 50–950 ramp
primary
#7F4CD5
secondary
#C6DAA2
accent
#E543A9
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A15
muted
#807C84