#9B5DE4#9B5DE4
#9B5DE4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.1% C 0.198 H 302.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5DE4 |
|---|---|
| RGB | rgb(155, 93, 228) |
| HSL | hsl(268, 71%, 63%) |
| HSV | hsv(268, 59%, 89%) |
| CMYK | cmyk(32%, 59.2%, 0%, 10.6%) |
| CIE-LAB | lab(52.28, 51.43, -59.42) |
| CIE-LCH | lch(52.28, 78.59, 310.88°) |
| OKLab | oklab(61.06% 0.1052 -0.1683) |
| OKLCH | oklch(61.06% 0.198 302) |
| XYZ | xyz(31.4322, 20.3986, 75.6651) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.59
Lightish Purple
#A552E6
ΔE00 2.72
Purpley
#8756E4
ΔE00 4.36
Mediumpurple
#9370DB
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5DE4 #A6E45D
analogous
#5D62E4 #9B5DE4 #DF5DE4
triadic
#9B5DE4 #E49B5D #5DE49B
tetradic
#9B5DE4 #E45D62 #A6E45D #5DE4DF
square
#9B5DE4 #E45D62 #A6E45D #5DE4DF
split-complementary
#9B5DE4 #E4DF5D #62E45D
monochromatic
#5E1CAA #7B29DB #9B5DE4 #BB91ED #DCC6F5
Accessibility & contrast
On white
4.13
#9B5DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#9B5DE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B5DE4
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5DE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B5DE4 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#377CE1
Tritanopia (blue-blind)
#8D7998
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b5de4; /* rgb */ color: rgb(155, 93, 228); /* oklch */ color: oklch(61.1% 0.198 302.0);
Tailwind
colors: {
custom: {
50: '#bd8eed',
500: '#9b5de4',
950: '#000000',
},
}SCSS
$custom: #9b5de4; $custom-light: #bd8eed; $custom-dark: #000000;
JSON
{
"hex": "#9b5de4",
"rgb": {
"r": 155,
"g": 93,
"b": 228
},
"hsl": {
"h": 267.556,
"s": 71.429,
"l": 62.941
},
"oklch": {
"l": 0.61063,
"c": 0.19847,
"h": 302
},
"luminance": 0.20399
}Semantic roles & 50–950 ramp
primary
#9B5DE4
secondary
#D0E7B6
accent
#D3127B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84