#9A2CBC#9A2CBC
#9A2CBC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.220 H 316.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2CBC |
|---|---|
| RGB | rgb(154, 44, 188) |
| HSL | hsl(286, 62%, 45%) |
| HSV | hsv(286, 77%, 74%) |
| CMYK | cmyk(18.1%, 76.6%, 0%, 26.3%) |
| CIE-LAB | lab(41.69, 64.26, -53.49) |
| CIE-LCH | lch(41.69, 83.61, 320.22°) |
| OKLab | oklab(52.6% 0.1596 -0.1507) |
| OKLCH | oklch(52.6% 0.22 316.6) |
| XYZ | xyz(23.3028, 12.3032, 48.7145) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.73
Purply
#983FB2
ΔE00 3.35
Barney
#AC1DB8
ΔE00 3.44
Darkviolet
#9400D3
ΔE00 4.82
Vibrant Purple
#AD03DE
ΔE00 5.03
Violet (survey)
#9A0EEA
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2CBC #4EBC2C
analogous
#522CBC #9A2CBC #BC2C96
triadic
#9A2CBC #BC9A2C #2CBC9A
tetradic
#9A2CBC #BC522C #4EBC2C #2C96BC
square
#9A2CBC #BC522C #4EBC2C #2C96BC
split-complementary
#9A2CBC #96BC2C #2CBC52
monochromatic
#491559 #71208A #9A2CBC #B64FD6 #CB81E1
Accessibility & contrast
On white
6.07
#9A2CBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#9A2CBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2CBC
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2CBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2CBC | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2D65B9
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9a2cbc; /* rgb */ color: rgb(154, 44, 188); /* oklch */ color: oklch(52.6% 0.220 316.6);
Tailwind
colors: {
custom: {
50: '#bc72d1',
500: '#9a2cbc',
950: '#000000',
},
}SCSS
$custom: #9a2cbc; $custom-light: #bc72d1; $custom-dark: #000000;
JSON
{
"hex": "#9a2cbc",
"rgb": {
"r": 154,
"g": 44,
"b": 188
},
"hsl": {
"h": 285.833,
"s": 62.069,
"l": 45.49
},
"oklch": {
"l": 0.52602,
"c": 0.21953,
"h": 316.6
},
"luminance": 0.12302
}Semantic roles & 50–950 ramp
primary
#9A2CBC
secondary
#8DCA79
accent
#E54369
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82