#9F5BFC#9F5BFC
#9F5BFC is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.229 H 299.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5BFC |
|---|---|
| RGB | rgb(159, 91, 252) |
| HSL | hsl(265, 96%, 67%) |
| HSV | hsv(265, 64%, 99%) |
| CMYK | cmyk(36.9%, 63.9%, 0%, 1.2%) |
| CIE-LAB | lab(53.90, 59.14, -70.21) |
| CIE-LCH | lch(53.90, 91.80, 310.11°) |
| OKLab | oklab(62.83% 0.1112 -0.1999) |
| OKLCH | oklch(62.83% 0.229 299.1) |
| XYZ | xyz(35.6055, 21.8810, 94.4242) |
| Luminance | 0.2188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.63
Lightish Purple
#A552E6
ΔE00 4.09
Purpley
#8756E4
ΔE00 5.62
Light Urple
#B36FF6
ΔE00 6.23
Mediumpurple
#9370DB
ΔE00 6.83
Mediumslateblue
#7B68EE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5BFC #B8FC5B
analogous
#5B67FC #9F5BFC #F05BFC
triadic
#9F5BFC #FC9F5B #5BFC9F
tetradic
#9F5BFC #FC5B67 #B8FC5B #5BFCF0
square
#9F5BFC #FC5B67 #B8FC5B #5BFCF0
split-complementary
#9F5BFC #FCF05B #67FC5B
monochromatic
#5E04D9 #7C1FFB #9F5BFC #C297FD #E5D3FE
Accessibility & contrast
On white
3.91
#9F5BFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#9F5BFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5BFC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5BFC | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007FF9
Tritanopia (blue-blind)
#8A7FA4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9f5bfc; /* rgb */ color: rgb(159, 91, 252); /* oklch */ color: oklch(62.8% 0.229 299.1);
Tailwind
colors: {
custom: {
50: '#c18dfe',
500: '#9f5bfc',
950: '#000000',
},
}SCSS
$custom: #9f5bfc; $custom-light: #c18dfe; $custom-dark: #000000;
JSON
{
"hex": "#9f5bfc",
"rgb": {
"r": 159,
"g": 91,
"b": 252
},
"hsl": {
"h": 265.342,
"s": 96.407,
"l": 67.255
},
"oklch": {
"l": 0.62828,
"c": 0.22873,
"h": 299.1
},
"luminance": 0.21881
}Semantic roles & 50–950 ramp
primary
#9F5BFC
secondary
#DDF3C0
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86