#9C2CBD#9C2CBD
#9C2CBD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.221 H 317.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2CBD |
|---|---|
| RGB | rgb(156, 44, 189) |
| HSL | hsl(286, 62%, 46%) |
| HSV | hsv(286, 77%, 74%) |
| CMYK | cmyk(17.5%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(42.07, 64.83, -53.46) |
| CIE-LCH | lch(42.07, 84.03, 320.49°) |
| OKLab | oklab(52.95% 0.1619 -0.1505) |
| OKLCH | oklch(52.95% 0.221 317.1) |
| XYZ | xyz(23.7949, 12.5444, 49.3022) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.65
Barney
#AC1DB8
ΔE00 3.17
Purply
#983FB2
ΔE00 3.28
Vibrant Purple
#AD03DE
ΔE00 4.80
Darkviolet
#9400D3
ΔE00 4.98
Violet (survey)
#9A0EEA
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2CBD #4DBD2C
analogous
#532CBD #9C2CBD #BD2C95
triadic
#9C2CBD #BD9C2C #2CBD9C
tetradic
#9C2CBD #BD532C #4DBD2C #2C95BD
square
#9C2CBD #BD532C #4DBD2C #2C95BD
split-complementary
#9C2CBD #95BD2C #2CBD53
monochromatic
#4A155A #73208B #9C2CBD #B850D6 #CC82E2
Accessibility & contrast
On white
5.99
#9C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#9C2CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2CBD
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2CBD | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#9A4C74
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9c2cbd; /* rgb */ color: rgb(156, 44, 189); /* oklch */ color: oklch(52.9% 0.221 317.1);
Tailwind
colors: {
custom: {
50: '#be72d2',
500: '#9c2cbd',
950: '#000000',
},
}SCSS
$custom: #9c2cbd; $custom-light: #be72d2; $custom-dark: #000000;
JSON
{
"hex": "#9c2cbd",
"rgb": {
"r": 156,
"g": 44,
"b": 189
},
"hsl": {
"h": 286.345,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.52949,
"c": 0.2211,
"h": 317.1
},
"luminance": 0.12543
}Semantic roles & 50–950 ramp
primary
#9C2CBD
secondary
#8CCB7A
accent
#E54268
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83