#9B5FE6#9B5FE6
#9B5FE6 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.198 H 301.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5FE6 |
|---|---|
| RGB | rgb(155, 95, 230) |
| HSL | hsl(267, 73%, 64%) |
| HSV | hsv(267, 59%, 90%) |
| CMYK | cmyk(32.6%, 58.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.80, 50.87, -59.71) |
| CIE-LCH | lch(52.80, 78.44, 310.43°) |
| OKLab | oklab(61.48% 0.1028 -0.1692) |
| OKLCH | oklch(61.48% 0.198 301.3) |
| XYZ | xyz(31.8893, 20.8660, 77.1951) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.45
Lightish Purple
#A552E6
ΔE00 3.17
Purpley
#8756E4
ΔE00 4.62
Mediumpurple
#9370DB
ΔE00 4.95
Amethyst
#9B5FC0
ΔE00 6.37
Light Urple
#B36FF6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5FE6 #AAE65F
analogous
#5F66E6 #9B5FE6 #DF5FE6
triadic
#9B5FE6 #E69B5F #5FE69B
tetradic
#9B5FE6 #E65F66 #AAE65F #5FE6DF
square
#9B5FE6 #E65F66 #AAE65F #5FE6DF
split-complementary
#9B5FE6 #E6DF5F #66E65F
monochromatic
#5D1BAF #7A2ADE #9B5FE6 #BC94EE #DDC9F7
Accessibility & contrast
On white
4.06
#9B5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#9B5FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5FE6
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5FE6 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#167DEA
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#8C7B9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9b5fe6; /* rgb */ color: rgb(155, 95, 230); /* oklch */ color: oklch(61.5% 0.198 301.3);
Tailwind
colors: {
custom: {
50: '#bd8fef',
500: '#9b5fe6',
950: '#000000',
},
}SCSS
$custom: #9b5fe6; $custom-light: #bd8fef; $custom-dark: #000000;
JSON
{
"hex": "#9b5fe6",
"rgb": {
"r": 155,
"g": 95,
"b": 230
},
"hsl": {
"h": 266.667,
"s": 72.973,
"l": 63.725
},
"oklch": {
"l": 0.6148,
"c": 0.19794,
"h": 301.3
},
"luminance": 0.20866
}Semantic roles & 50–950 ramp
primary
#9B5FE6
secondary
#D3E8B9
accent
#D5107E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84