#7F5FF0#7F5FF0
#7F5FF0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.208 H 288.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FF0 |
|---|---|
| RGB | rgb(127, 95, 240) |
| HSL | hsl(253, 83%, 66%) |
| HSV | hsv(253, 60%, 94%) |
| CMYK | cmyk(47.1%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(50.67, 47.55, -68.90) |
| CIE-LCH | lch(50.67, 83.72, 304.61°) |
| OKLab | oklab(59.48% 0.0663 -0.1971) |
| OKLCH | oklch(59.48% 0.208 288.6) |
| XYZ | xyz(28.5683, 18.9865, 84.5807) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.65
Purpley
#8756E4
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 5.87
Dark Periwinkle
#665FD1
ΔE00 6.18
Slate Blue
#6A5ACD
ΔE00 6.38
Lighter Purple
#A55AF4
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FF0 #D0F05F
analogous
#5F88F0 #7F5FF0 #C75FF0
triadic
#7F5FF0 #F07F5F #5FF07F
tetradic
#7F5FF0 #F05F88 #D0F05F #5FF0C7
square
#7F5FF0 #F05F88 #D0F05F #5FF0C7
split-complementary
#7F5FF0 #F0C75F #88F05F
monochromatic
#3912C2 #5227EB #7F5FF0 #AC97F5 #D9CFFA
Accessibility & contrast
On white
4.38
#7F5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F5FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FF0
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FF0 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#5A819F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f5ff0; /* rgb */ color: rgb(127, 95, 240); /* oklch */ color: oklch(59.5% 0.208 288.6);
Tailwind
colors: {
custom: {
50: '#ac8ef6',
500: '#7f5ff0',
950: '#000000',
},
}SCSS
$custom: #7f5ff0; $custom-light: #ac8ef6; $custom-dark: #000000;
JSON
{
"hex": "#7f5ff0",
"rgb": {
"r": 127,
"g": 95,
"b": 240
},
"hsl": {
"h": 253.241,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.59483,
"c": 0.20792,
"h": 288.6
},
"luminance": 0.18988
}Semantic roles & 50–950 ramp
primary
#7F5FF0
secondary
#E3EEBD
accent
#DF06AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85