#9B3EBC#9B3EBC
#9B3EBC is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.199 H 315.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3EBC |
|---|---|
| RGB | rgb(155, 62, 188) |
| HSL | hsl(284, 50%, 49%) |
| HSV | hsv(284, 67%, 74%) |
| CMYK | cmyk(17.6%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(44.30, 57.50, -49.30) |
| CIE-LCH | lch(44.30, 75.74, 319.39°) |
| OKLab | oklab(54.49% 0.143 -0.1385) |
| OKLCH | oklch(54.49% 0.199 315.9) |
| XYZ | xyz(24.3159, 14.0456, 48.9974) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.63
Darkorchid
#9932CC
ΔE00 3.25
Barney
#AC1DB8
ΔE00 4.44
Medium Purple
#9E43A2
ΔE00 5.21
Vibrant Purple
#AD03DE
ΔE00 5.96
Ugly Purple
#A442A0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3EBC #5FBC3E
analogous
#5C3EBC #9B3EBC #BC3E9E
triadic
#9B3EBC #BC9B3E #3EBC9B
tetradic
#9B3EBC #BC5C3E #5FBC3E #3E9EBC
square
#9B3EBC #BC5C3E #5FBC3E #3E9EBC
split-complementary
#9B3EBC #9EBC3E #3EBC5C
monochromatic
#4F2060 #752F8E #9B3EBC #B36ACE #CB98DD
Accessibility & contrast
On white
5.51
#9B3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9B3EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3EBC
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3EBC | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#995678
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9b3ebc; /* rgb */ color: rgb(155, 62, 188); /* oklch */ color: oklch(54.5% 0.199 315.9);
Tailwind
colors: {
custom: {
50: '#bc7ad1',
500: '#9b3ebc',
950: '#000000',
},
}SCSS
$custom: #9b3ebc; $custom-light: #bc7ad1; $custom-dark: #000000;
JSON
{
"hex": "#9b3ebc",
"rgb": {
"r": 155,
"g": 62,
"b": 188
},
"hsl": {
"h": 284.286,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.54487,
"c": 0.19908,
"h": 315.9
},
"luminance": 0.14045
}Semantic roles & 50–950 ramp
primary
#9B3EBC
secondary
#9DC98D
accent
#DA4E73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82