#7F4FE6#7F4FE6
#7F4FE6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.216 H 292.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FE6 |
|---|---|
| RGB | rgb(127, 79, 230) |
| HSL | hsl(259, 75%, 61%) |
| HSV | hsv(259, 66%, 90%) |
| CMYK | cmyk(44.8%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(46.73, 53.46, -69.67) |
| CIE-LCH | lch(46.73, 87.81, 307.50°) |
| OKLab | oklab(56.4% 0.0835 -0.1993) |
| OKLCH | oklch(56.4% 0.216 292.7) |
| XYZ | xyz(25.8274, 15.8164, 76.5396) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.33
Light Indigo
#6D5ACF
ΔE00 5.09
Bluish Purple
#703BE7
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.62
Purpleish Blue
#6140EF
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FE6 #B6E64F
analogous
#4F6AE6 #7F4FE6 #CA4FE6
triadic
#7F4FE6 #E67F4F #4FE67F
tetradic
#7F4FE6 #E64F6A #B6E64F #4FE6CA
square
#7F4FE6 #E64F6A #B6E64F #4FE6CA
split-complementary
#7F4FE6 #E6CA4F #6AE64F
monochromatic
#4417A3 #5A1FD9 #7F4FE6 #A685EE #CDBAF5
Accessibility & contrast
On white
5.04
#7F4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7F4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FE6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FE6 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#617394
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f4fe6; /* rgb */ color: rgb(127, 79, 230); /* oklch */ color: oklch(56.4% 0.216 292.7);
Tailwind
colors: {
custom: {
50: '#ac83ef',
500: '#7f4fe6',
950: '#000000',
},
}SCSS
$custom: #7f4fe6; $custom-light: #ac83ef; $custom-dark: #000000;
JSON
{
"hex": "#7f4fe6",
"rgb": {
"r": 127,
"g": 79,
"b": 230
},
"hsl": {
"h": 259.073,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.56401,
"c": 0.21612,
"h": 292.7
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#7F4FE6
secondary
#D3E5AC
accent
#D70E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85