#9B3CD9#9B3CD9
#9B3CD9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.3% C 0.229 H 308.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3CD9 |
|---|---|
| RGB | rgb(155, 60, 217) |
| HSL | hsl(276, 67%, 54%) |
| HSV | hsv(276, 72%, 85%) |
| CMYK | cmyk(28.6%, 72.4%, 0%, 14.9%) |
| CIE-LAB | lab(45.92, 64.42, -63.45) |
| CIE-LCH | lch(45.92, 90.42, 315.44°) |
| OKLab | oklab(56.26% 0.1419 -0.18) |
| OKLCH | oklch(56.26% 0.229 308.2) |
| XYZ | xyz(27.6552, 15.2105, 67.1112) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.78
Vibrant Purple
#AD03DE
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 4.60
Violet (survey)
#9A0EEA
ΔE00 4.73
Electric Purple
#AA23FF
ΔE00 4.99
Bright Violet
#AD0AFD
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3CD9 #7AD93C
analogous
#4D3CD9 #9B3CD9 #D93CC8
triadic
#9B3CD9 #D99B3C #3CD99B
tetradic
#9B3CD9 #D94D3C #7AD93C #3CC8D9
square
#9B3CD9 #D94D3C #7AD93C #3CC8D9
split-complementary
#9B3CD9 #C8D93C #3CD94D
monochromatic
#581981 #7B23B5 #9B3CD9 #B56FE3 #D0A2ED
Accessibility & contrast
On white
5.20
#9B3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#9B3CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3CD9
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3CD9 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#046ED6
Tritanopia (blue-blind)
#916187
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9b3cd9; /* rgb */ color: rgb(155, 60, 217); /* oklch */ color: oklch(56.3% 0.229 308.2);
Tailwind
colors: {
custom: {
50: '#be7ae6',
500: '#9b3cd9',
950: '#000000',
},
}SCSS
$custom: #9b3cd9; $custom-light: #be7ae6; $custom-dark: #000000;
JSON
{
"hex": "#9b3cd9",
"rgb": {
"r": 155,
"g": 60,
"b": 217
},
"hsl": {
"h": 276.306,
"s": 67.382,
"l": 54.314
},
"oklch": {
"l": 0.56255,
"c": 0.2292,
"h": 308.2
},
"luminance": 0.1521
}Semantic roles & 50–950 ramp
primary
#9B3CD9
secondary
#B1DA97
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84