#7F5FEF#7F5FEF
#7F5FEF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.207 H 288.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FEF |
|---|---|
| RGB | rgb(127, 95, 239) |
| HSL | hsl(253, 82%, 65%) |
| HSV | hsv(253, 60%, 94%) |
| CMYK | cmyk(46.9%, 60.3%, 0%, 6.3%) |
| CIE-LAB | lab(50.60, 47.27, -68.45) |
| CIE-LCH | lch(50.60, 83.19, 304.63°) |
| OKLab | oklab(59.41% 0.0664 -0.1957) |
| OKLCH | oklch(59.41% 0.207 288.7) |
| XYZ | xyz(28.4201, 18.9273, 83.8005) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.66
Purpley
#8756E4
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.27
Lighter Purple
#A55AF4
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FEF #CFEF5F
analogous
#5F87EF #7F5FEF #C75FEF
triadic
#7F5FEF #EF7F5F #5FEF7F
tetradic
#7F5FEF #EF5F87 #CFEF5F #5FEFC7
square
#7F5FEF #EF5F87 #CFEF5F #5FEFC7
split-complementary
#7F5FEF #EFC75F #87EF5F
monochromatic
#3A13C0 #5227E9 #7F5FEF #AC97F5 #D8CEFA
Accessibility & contrast
On white
4.39
#7F5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7F5FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FEF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FEF | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#5A809E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f5fef; /* rgb */ color: rgb(127, 95, 239); /* oklch */ color: oklch(59.4% 0.207 288.7);
Tailwind
colors: {
custom: {
50: '#ac8ef5',
500: '#7f5fef',
950: '#000000',
},
}SCSS
$custom: #7f5fef; $custom-light: #ac8ef5; $custom-dark: #000000;
JSON
{
"hex": "#7f5fef",
"rgb": {
"r": 127,
"g": 95,
"b": 239
},
"hsl": {
"h": 253.333,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.59411,
"c": 0.20668,
"h": 288.7
},
"luminance": 0.18928
}Semantic roles & 50–950 ramp
primary
#7F5FEF
secondary
#E2EDBD
accent
#DE07AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85