#9A2CBD#9A2CBD
#9A2CBD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.220 H 316.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2CBD |
|---|---|
| RGB | rgb(154, 44, 189) |
| HSL | hsl(286, 62%, 46%) |
| HSV | hsv(286, 77%, 74%) |
| CMYK | cmyk(18.5%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(41.76, 64.45, -53.97) |
| CIE-LCH | lch(41.76, 84.06, 320.06°) |
| OKLab | oklab(52.67% 0.1595 -0.1521) |
| OKLCH | oklch(52.67% 0.22 316.4) |
| XYZ | xyz(23.4110, 12.3465, 49.2842) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.57
Purply
#983FB2
ΔE00 3.42
Barney
#AC1DB8
ΔE00 3.51
Darkviolet
#9400D3
ΔE00 4.72
Vibrant Purple
#AD03DE
ΔE00 4.91
Violet (survey)
#9A0EEA
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2CBD #4FBD2C
analogous
#512CBD #9A2CBD #BD2C97
triadic
#9A2CBD #BD9A2C #2CBD9A
tetradic
#9A2CBD #BD512C #4FBD2C #2C97BD
square
#9A2CBD #BD512C #4FBD2C #2C97BD
split-complementary
#9A2CBD #97BD2C #2CBD51
monochromatic
#49155A #72208B #9A2CBD #B650D6 #CB82E2
Accessibility & contrast
On white
6.05
#9A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9A2CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2CBD
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2CBD | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#984C74
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9a2cbd; /* rgb */ color: rgb(154, 44, 189); /* oklch */ color: oklch(52.7% 0.220 316.4);
Tailwind
colors: {
custom: {
50: '#bc72d2',
500: '#9a2cbd',
950: '#000000',
},
}SCSS
$custom: #9a2cbd; $custom-light: #bc72d2; $custom-dark: #000000;
JSON
{
"hex": "#9a2cbd",
"rgb": {
"r": 154,
"g": 44,
"b": 189
},
"hsl": {
"h": 285.517,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.52671,
"c": 0.22038,
"h": 316.4
},
"luminance": 0.12346
}Semantic roles & 50–950 ramp
primary
#9A2CBD
secondary
#8ECB7A
accent
#E5426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83