#9B5DE3#9B5DE3
#9B5DE3 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 61.0% C 0.197 H 302.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5DE3 |
|---|---|
| RGB | rgb(155, 93, 227) |
| HSL | hsl(268, 71%, 63%) |
| HSV | hsv(268, 59%, 89%) |
| CMYK | cmyk(31.7%, 59%, 0%, 11%) |
| CIE-LAB | lab(52.22, 51.19, -58.95) |
| CIE-LCH | lch(52.22, 78.08, 310.97°) |
| OKLab | oklab(61% 0.1052 -0.1669) |
| OKLCH | oklch(61% 0.197 302.2) |
| XYZ | xyz(31.2938, 20.3433, 74.9361) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.70
Lightish Purple
#A552E6
ΔE00 2.71
Purpley
#8756E4
ΔE00 4.37
Mediumpurple
#9370DB
ΔE00 5.35
Amethyst
#9B5FC0
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5DE3 #A5E35D
analogous
#5D62E3 #9B5DE3 #DE5DE3
triadic
#9B5DE3 #E39B5D #5DE39B
tetradic
#9B5DE3 #E35D62 #A5E35D #5DE3DE
square
#9B5DE3 #E35D62 #A5E35D #5DE3DE
split-complementary
#9B5DE3 #E3DE5D #62E35D
monochromatic
#5E1DA8 #7B29DA #9B5DE3 #BB91EC #DBC5F5
Accessibility & contrast
On white
4.14
#9B5DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#9B5DE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5DE3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5DE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5DE3 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#167CE7
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#8D7997
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b5de3; /* rgb */ color: rgb(155, 93, 227); /* oklch */ color: oklch(61.0% 0.197 302.2);
Tailwind
colors: {
custom: {
50: '#bd8dec',
500: '#9b5de3',
950: '#000000',
},
}SCSS
$custom: #9b5de3; $custom-light: #bd8dec; $custom-dark: #000000;
JSON
{
"hex": "#9b5de3",
"rgb": {
"r": 155,
"g": 93,
"b": 227
},
"hsl": {
"h": 267.761,
"s": 70.526,
"l": 62.745
},
"oklch": {
"l": 0.60998,
"c": 0.19733,
"h": 302.2
},
"luminance": 0.20343
}Semantic roles & 50–950 ramp
primary
#9B5DE3
secondary
#D0E6B6
accent
#D3137A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84