#7F5FF2#7F5FF2
#7F5FF2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.210 H 288.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FF2 |
|---|---|
| RGB | rgb(127, 95, 242) |
| HSL | hsl(253, 85%, 66%) |
| HSV | hsv(253, 61%, 95%) |
| CMYK | cmyk(47.5%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(50.81, 48.11, -69.79) |
| CIE-LCH | lch(50.81, 84.77, 304.58°) |
| OKLab | oklab(59.63% 0.0662 -0.1997) |
| OKLCH | oklch(59.63% 0.21 288.3) |
| XYZ | xyz(28.8670, 19.1060, 86.1540) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.64
Purpley
#8756E4
ΔE00 3.57
Light Indigo
#6D5ACF
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.59
Lighter Purple
#A55AF4
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FF2 #D2F25F
analogous
#5F88F2 #7F5FF2 #C85FF2
triadic
#7F5FF2 #F27F5F #5FF27F
tetradic
#7F5FF2 #F25F88 #D2F25F #5FF2C8
square
#7F5FF2 #F25F88 #D2F25F #5FF2C8
split-complementary
#7F5FF2 #F2C85F #88F25F
monochromatic
#3810C6 #5226ED #7F5FF2 #AC98F7 #DAD0FB
Accessibility & contrast
On white
4.36
#7F5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7F5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FF2
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FF2 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#5981A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f5ff2; /* rgb */ color: rgb(127, 95, 242); /* oklch */ color: oklch(59.6% 0.210 288.3);
Tailwind
colors: {
custom: {
50: '#ac8ef7',
500: '#7f5ff2',
950: '#000000',
},
}SCSS
$custom: #7f5ff2; $custom-light: #ac8ef7; $custom-dark: #000000;
JSON
{
"hex": "#7f5ff2",
"rgb": {
"r": 127,
"g": 95,
"b": 242
},
"hsl": {
"h": 253.061,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.59629,
"c": 0.21036,
"h": 288.3
},
"luminance": 0.19107
}Semantic roles & 50–950 ramp
primary
#7F5FF2
secondary
#E4EFBE
accent
#E104B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85