#7F4CD6#7F4CD6
#7F4CD6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.201 H 296.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CD6 |
|---|---|
| RGB | rgb(127, 76, 214) |
| HSL | hsl(262, 63%, 57%) |
| HSV | hsv(262, 64%, 84%) |
| CMYK | cmyk(40.7%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(44.99, 50.80, -63.40) |
| CIE-LCH | lch(44.99, 81.24, 308.70°) |
| OKLab | oklab(54.78% 0.0885 -0.1809) |
| OKLCH | oklch(54.78% 0.201 296.1) |
| XYZ | xyz(23.4713, 14.5355, 65.1743) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.75
Bluish Purple
#703BE7
ΔE00 4.81
Light Indigo
#6D5ACF
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.49
Blueviolet
#8A2BE2
ΔE00 5.65
Purpleish Blue
#6140EF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CD6 #A3D64C
analogous
#4C5ED6 #7F4CD6 #C44CD6
triadic
#7F4CD6 #D67F4C #4CD67F
tetradic
#7F4CD6 #D64C5E #A3D64C #4CD6C4
square
#7F4CD6 #D64C5E #A3D64C #4CD6C4
split-complementary
#7F4CD6 #D6C44C #5ED64C
monochromatic
#461F88 #602BBA #7F4CD6 #A37EE1 #C6B0ED
Accessibility & contrast
On white
5.37
#7F4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7F4CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CD6
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CD6 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#696C8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f4cd6; /* rgb */ color: rgb(127, 76, 214); /* oklch */ color: oklch(54.8% 0.201 296.1);
Tailwind
colors: {
custom: {
50: '#aa81e3',
500: '#7f4cd6',
950: '#000000',
},
}SCSS
$custom: #7f4cd6; $custom-light: #aa81e3; $custom-dark: #000000;
JSON
{
"hex": "#7f4cd6",
"rgb": {
"r": 127,
"g": 76,
"b": 214
},
"hsl": {
"h": 262.174,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.5478,
"c": 0.20134,
"h": 296.1
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#7F4CD6
secondary
#C6DBA3
accent
#E642A9
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84