#9B3CD3#9B3CD3
#9B3CD3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.223 H 309.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3CD3 |
|---|---|
| RGB | rgb(155, 60, 211) |
| HSL | hsl(278, 63%, 53%) |
| HSV | hsv(278, 72%, 83%) |
| CMYK | cmyk(26.5%, 71.6%, 0%, 17.3%) |
| CIE-LAB | lab(45.50, 63.14, -60.69) |
| CIE-LCH | lch(45.50, 87.57, 316.13°) |
| OKLab | oklab(55.83% 0.1428 -0.1719) |
| OKLCH | oklch(55.83% 0.223 309.7) |
| XYZ | xyz(26.8890, 14.9040, 63.0757) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.16
Vibrant Purple
#AD03DE
ΔE00 4.34
Blueviolet
#8A2BE2
ΔE00 4.88
Violet (survey)
#9A0EEA
ΔE00 5.03
Purply
#983FB2
ΔE00 5.18
Electric Purple
#AA23FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3CD3 #74D33C
analogous
#4F3CD3 #9B3CD3 #D33CC0
triadic
#9B3CD3 #D39B3C #3CD39B
tetradic
#9B3CD3 #D34F3C #74D33C #3CC0D3
square
#9B3CD3 #D34F3C #74D33C #3CC0D3
split-complementary
#9B3CD3 #C0D33C #3CD34F
monochromatic
#561B79 #7A27AB #9B3CD3 #B56EDE #CEA0EA
Accessibility & contrast
On white
5.28
#9B3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9B3CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3CD3
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3CD3 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#1B6DD0
Tritanopia (blue-blind)
#935E84
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9b3cd3; /* rgb */ color: rgb(155, 60, 211); /* oklch */ color: oklch(55.8% 0.223 309.7);
Tailwind
colors: {
custom: {
50: '#bd7ae1',
500: '#9b3cd3',
950: '#000000',
},
}SCSS
$custom: #9b3cd3; $custom-light: #bd7ae1; $custom-dark: #000000;
JSON
{
"hex": "#9b3cd3",
"rgb": {
"r": 155,
"g": 60,
"b": 211
},
"hsl": {
"h": 277.748,
"s": 63.18,
"l": 53.137
},
"oklch": {
"l": 0.55826,
"c": 0.22348,
"h": 309.7
},
"luminance": 0.14903
}Semantic roles & 50–950 ramp
primary
#9B3CD3
secondary
#ADD695
accent
#E6427F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83