#9B3CD1#9B3CD1
#9B3CD1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.7% C 0.222 H 310.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3CD1 |
|---|---|
| RGB | rgb(155, 60, 209) |
| HSL | hsl(278, 62%, 53%) |
| HSV | hsv(278, 71%, 82%) |
| CMYK | cmyk(25.8%, 71.3%, 0%, 18%) |
| CIE-LAB | lab(45.37, 62.71, -59.76) |
| CIE-LCH | lch(45.37, 86.62, 316.38°) |
| OKLab | oklab(55.68% 0.1431 -0.1692) |
| OKLCH | oklch(55.68% 0.222 310.2) |
| XYZ | xyz(26.6398, 14.8043, 61.7634) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.01
Vibrant Purple
#AD03DE
ΔE00 4.36
Purply
#983FB2
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.02
Violet (survey)
#9A0EEA
ΔE00 5.16
Bright Violet
#AD0AFD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3CD1 #72D13C
analogous
#503CD1 #9B3CD1 #D13CBD
triadic
#9B3CD1 #D19B3C #3CD19B
tetradic
#9B3CD1 #D1503C #72D13C #3CBDD1
square
#9B3CD1 #D1503C #72D13C #3CBDD1
split-complementary
#9B3CD1 #BDD13C #3CD150
monochromatic
#561C77 #7A28A8 #9B3CD1 #B46EDD #CE9FE8
Accessibility & contrast
On white
5.30
#9B3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9B3CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3CD1
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3CD1 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#1F6DCE
Tritanopia (blue-blind)
#945D83
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9b3cd1; /* rgb */ color: rgb(155, 60, 209); /* oklch */ color: oklch(55.7% 0.222 310.2);
Tailwind
colors: {
custom: {
50: '#bd7ae0',
500: '#9b3cd1',
950: '#000000',
},
}SCSS
$custom: #9b3cd1; $custom-light: #bd7ae0; $custom-dark: #000000;
JSON
{
"hex": "#9b3cd1",
"rgb": {
"r": 155,
"g": 60,
"b": 209
},
"hsl": {
"h": 278.255,
"s": 61.826,
"l": 52.745
},
"oklch": {
"l": 0.55684,
"c": 0.22157,
"h": 310.2
},
"luminance": 0.14804
}Semantic roles & 50–950 ramp
primary
#9B3CD1
secondary
#ACD594
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83