#7F5FFB#7F5FFB
#7F5FFB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.221 H 287.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FFB |
|---|---|
| RGB | rgb(127, 95, 251) |
| HSL | hsl(252, 95%, 68%) |
| HSV | hsv(252, 62%, 98%) |
| CMYK | cmyk(49.4%, 62.2%, 0%, 1.6%) |
| CIE-LAB | lab(51.45, 50.65, -73.77) |
| CIE-LCH | lch(51.45, 89.48, 304.47°) |
| OKLab | oklab(60.3% 0.0656 -0.2114) |
| OKLCH | oklch(60.3% 0.221 287.2) |
| XYZ | xyz(30.2521, 19.6601, 93.4488) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.89
Purpley
#8756E4
ΔE00 4.43
Lighter Purple
#A55AF4
ΔE00 6.65
Light Indigo
#6D5ACF
ΔE00 7.12
Dark Periwinkle
#665FD1
ΔE00 7.24
Mediumpurple
#9370DB
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FFB #DBFB5F
analogous
#5F8DFB #7F5FFB #CD5FFB
triadic
#7F5FFB #FB7F5F #5FFB7F
tetradic
#7F5FFB #FB5F8D #DBFB5F #5FFBCD
square
#7F5FFB #FB5F8D #DBFB5F #5FFBCD
split-complementary
#7F5FFB #FBCD5F #8DFB5F
monochromatic
#3105DA #4F23FA #7F5FFB #AF9BFC #DFD6FE
Accessibility & contrast
On white
4.26
#7F5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#7F5FFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FFB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FFB | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#5284A4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f5ffb; /* rgb */ color: rgb(127, 95, 251); /* oklch */ color: oklch(60.3% 0.221 287.2);
Tailwind
colors: {
custom: {
50: '#ad8efe',
500: '#7f5ffb',
950: '#000000',
},
}SCSS
$custom: #7f5ffb; $custom-light: #ad8efe; $custom-dark: #000000;
JSON
{
"hex": "#7f5ffb",
"rgb": {
"r": 127,
"g": 95,
"b": 251
},
"hsl": {
"h": 252.308,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.60297,
"c": 0.22131,
"h": 287.2
},
"luminance": 0.19661
}Semantic roles & 50–950 ramp
primary
#7F5FFB
secondary
#E9F3C3
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86