#7F5FEE#7F5FEE
#7F5FEE is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.205 H 288.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FEE |
|---|---|
| RGB | rgb(127, 95, 238) |
| HSL | hsl(253, 81%, 65%) |
| HSV | hsv(253, 60%, 93%) |
| CMYK | cmyk(46.6%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(50.53, 46.99, -68.01) |
| CIE-LCH | lch(50.53, 82.66, 304.64°) |
| OKLab | oklab(59.34% 0.0664 -0.1944) |
| OKLCH | oklch(59.34% 0.205 288.9) |
| XYZ | xyz(28.2728, 18.8684, 83.0246) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.68
Purpley
#8756E4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 6.01
Slate Blue
#6A5ACD
ΔE00 6.17
Lighter Purple
#A55AF4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FEE #CEEE5F
analogous
#5F86EE #7F5FEE #C75FEE
triadic
#7F5FEE #EE7F5F #5FEE7F
tetradic
#7F5FEE #EE5F86 #CEEE5F #5FEEC7
square
#7F5FEE #EE5F86 #CEEE5F #5FEEC7
split-complementary
#7F5FEE #EEC75F #86EE5F
monochromatic
#3A14BE #5328E8 #7F5FEE #AB96F4 #D8CEFA
Accessibility & contrast
On white
4.40
#7F5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7F5FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FEE
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FEE | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#5B809E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f5fee; /* rgb */ color: rgb(127, 95, 238); /* oklch */ color: oklch(59.3% 0.205 288.9);
Tailwind
colors: {
custom: {
50: '#ac8ef4',
500: '#7f5fee',
950: '#000000',
},
}SCSS
$custom: #7f5fee; $custom-light: #ac8ef4; $custom-dark: #000000;
JSON
{
"hex": "#7f5fee",
"rgb": {
"r": 127,
"g": 95,
"b": 238
},
"hsl": {
"h": 253.427,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.59338,
"c": 0.20545,
"h": 288.9
},
"luminance": 0.18869
}Semantic roles & 50–950 ramp
primary
#7F5FEE
secondary
#E2ECBC
accent
#DD08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85