#9A2ABD#9A2ABD
#9A2ABD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.222 H 316.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2ABD |
|---|---|
| RGB | rgb(154, 42, 189) |
| HSL | hsl(286, 64%, 45%) |
| HSV | hsv(286, 78%, 74%) |
| CMYK | cmyk(18.5%, 77.8%, 0%, 25.9%) |
| CIE-LAB | lab(41.53, 65.11, -54.34) |
| CIE-LCH | lch(41.53, 84.80, 320.15°) |
| OKLab | oklab(52.51% 0.1611 -0.1532) |
| OKLCH | oklch(52.51% 0.222 316.5) |
| XYZ | xyz(23.3383, 12.2010, 49.2599) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.69
Barney
#AC1DB8
ΔE00 3.51
Purply
#983FB2
ΔE00 3.64
Darkviolet
#9400D3
ΔE00 4.55
Vibrant Purple
#AD03DE
ΔE00 4.90
Violet (survey)
#9A0EEA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2ABD #4DBD2A
analogous
#502ABD #9A2ABD #BD2A97
triadic
#9A2ABD #BD9A2A #2ABD9A
tetradic
#9A2ABD #BD502A #4DBD2A #2A97BD
square
#9A2ABD #BD502A #4DBD2A #2A97BD
split-complementary
#9A2ABD #97BD2A #2ABD50
monochromatic
#481459 #711F8B #9A2ABD #B64DD7 #CB7FE3
Accessibility & contrast
On white
6.10
#9A2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9A2ABD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2ABD
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2ABD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2ABD | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#984C73
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9a2abd; /* rgb */ color: rgb(154, 42, 189); /* oklch */ color: oklch(52.5% 0.222 316.5);
Tailwind
colors: {
custom: {
50: '#bc71d2',
500: '#9a2abd',
950: '#000000',
},
}SCSS
$custom: #9a2abd; $custom-light: #bc71d2; $custom-dark: #000000;
JSON
{
"hex": "#9a2abd",
"rgb": {
"r": 154,
"g": 42,
"b": 189
},
"hsl": {
"h": 285.714,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.5251,
"c": 0.22233,
"h": 316.5
},
"luminance": 0.122
}Semantic roles & 50–950 ramp
primary
#9A2ABD
secondary
#8CCB78
accent
#E74169
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83