#7F5FF1#7F5FF1
#7F5FF1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.209 H 288.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FF1 |
|---|---|
| RGB | rgb(127, 95, 241) |
| HSL | hsl(253, 84%, 66%) |
| HSV | hsv(253, 61%, 95%) |
| CMYK | cmyk(47.3%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(50.74, 47.83, -69.35) |
| CIE-LCH | lch(50.74, 84.24, 304.60°) |
| OKLab | oklab(59.56% 0.0663 -0.1984) |
| OKLCH | oklch(59.56% 0.209 288.5) |
| XYZ | xyz(28.7172, 19.0461, 85.3652) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.64
Purpley
#8756E4
ΔE00 3.49
Light Indigo
#6D5ACF
ΔE00 5.98
Dark Periwinkle
#665FD1
ΔE00 6.27
Slate Blue
#6A5ACD
ΔE00 6.48
Lighter Purple
#A55AF4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FF1 #D1F15F
analogous
#5F88F1 #7F5FF1 #C85FF1
triadic
#7F5FF1 #F17F5F #5FF17F
tetradic
#7F5FF1 #F15F88 #D1F15F #5FF1C8
square
#7F5FF1 #F15F88 #D1F15F #5FF1C8
split-complementary
#7F5FF1 #F1C85F #88F15F
monochromatic
#3811C4 #5227EC #7F5FF1 #AC97F6 #D9D0FB
Accessibility & contrast
On white
4.37
#7F5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7F5FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FF1
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FF1 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#59819F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f5ff1; /* rgb */ color: rgb(127, 95, 241); /* oklch */ color: oklch(59.6% 0.209 288.5);
Tailwind
colors: {
custom: {
50: '#ac8ef7',
500: '#7f5ff1',
950: '#000000',
},
}SCSS
$custom: #7f5ff1; $custom-light: #ac8ef7; $custom-dark: #000000;
JSON
{
"hex": "#7f5ff1",
"rgb": {
"r": 127,
"g": 95,
"b": 241
},
"hsl": {
"h": 253.151,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.59556,
"c": 0.20914,
"h": 288.5
},
"luminance": 0.19047
}Semantic roles & 50–950 ramp
primary
#7F5FF1
secondary
#E3EEBE
accent
#E005B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85