#9B5CF3#9B5CF3
#9B5CF3 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.217 H 299.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5CF3 |
|---|---|
| RGB | rgb(155, 92, 243) |
| HSL | hsl(265, 86%, 66%) |
| HSV | hsv(265, 62%, 95%) |
| CMYK | cmyk(36.2%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(53.05, 55.62, -66.59) |
| CIE-LCH | lch(53.05, 86.76, 309.87°) |
| OKLab | oklab(61.93% 0.1056 -0.1894) |
| OKLCH | oklch(61.93% 0.217 299.2) |
| XYZ | xyz(33.5184, 21.0936, 87.0822) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.74
Lightish Purple
#A552E6
ΔE00 3.52
Purpley
#8756E4
ΔE00 4.58
Mediumpurple
#9370DB
ΔE00 6.09
Mediumslateblue
#7B68EE
ΔE00 6.36
Light Urple
#B36FF6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5CF3 #B4F35C
analogous
#5C68F3 #9B5CF3 #E65CF3
triadic
#9B5CF3 #F39B5C #5CF39B
tetradic
#9B5CF3 #F35C68 #B4F35C #5CF3E6
square
#9B5CF3 #F35C68 #B4F35C #5CF3E6
split-complementary
#9B5CF3 #F3E65C #68F35C
monochromatic
#5B0FC6 #7823EF #9B5CF3 #BE95F7 #E1CEFB
Accessibility & contrast
On white
4.02
#9B5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#9B5CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5CF3
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5CF3 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#167DF0
Tritanopia (blue-blind)
#877D9F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9b5cf3; /* rgb */ color: rgb(155, 92, 243); /* oklch */ color: oklch(61.9% 0.217 299.2);
Tailwind
colors: {
custom: {
50: '#be8df8',
500: '#9b5cf3',
950: '#000000',
},
}SCSS
$custom: #9b5cf3; $custom-light: #be8df8; $custom-dark: #000000;
JSON
{
"hex": "#9b5cf3",
"rgb": {
"r": 155,
"g": 92,
"b": 243
},
"hsl": {
"h": 265.033,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.61926,
"c": 0.21686,
"h": 299.2
},
"luminance": 0.21094
}Semantic roles & 50–950 ramp
primary
#9B5CF3
secondary
#DAEFBC
accent
#E30385
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85