#7F5EF6#7F5EF6
#7F5EF6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.216 H 288.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5EF6 |
|---|---|
| RGB | rgb(127, 94, 246) |
| HSL | hsl(253, 89%, 67%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(48.4%, 61.8%, 0%, 3.5%) |
| CIE-LAB | lab(50.89, 49.79, -71.91) |
| CIE-LCH | lch(50.89, 87.46, 304.70°) |
| OKLab | oklab(59.77% 0.0669 -0.2059) |
| OKLCH | oklch(59.77% 0.217 288) |
| XYZ | xyz(29.3848, 19.1700, 89.3228) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.93
Purpley
#8756E4
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 6.45
Lighter Purple
#A55AF4
ΔE00 6.59
Dark Periwinkle
#665FD1
ΔE00 6.72
Slate Blue
#6A5ACD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5EF6 #D5F65E
analogous
#5E89F6 #7F5EF6 #CB5EF6
triadic
#7F5EF6 #F67F5E #5EF67F
tetradic
#7F5EF6 #F65E89 #D5F65E #5EF6CB
square
#7F5EF6 #F65E89 #D5F65E #5EF6CB
split-complementary
#7F5EF6 #F6CB5E #89F65E
monochromatic
#360CCE #5124F3 #7F5EF6 #AD98F9 #DBD2FC
Accessibility & contrast
On white
4.34
#7F5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7F5EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5EF6
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5EF6 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5682A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f5ef6; /* rgb */ color: rgb(127, 94, 246); /* oklch */ color: oklch(59.8% 0.216 288.0);
Tailwind
colors: {
custom: {
50: '#ad8dfa',
500: '#7f5ef6',
950: '#000000',
},
}SCSS
$custom: #7f5ef6; $custom-light: #ad8dfa; $custom-dark: #000000;
JSON
{
"hex": "#7f5ef6",
"rgb": {
"r": 127,
"g": 94,
"b": 246
},
"hsl": {
"h": 253.026,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.59773,
"c": 0.2165,
"h": 288
},
"luminance": 0.19171
}Semantic roles & 50–950 ramp
primary
#7F5EF6
secondary
#E6F0BF
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85