#9A2AAA#9A2AAA
#9A2AAA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.206 H 322.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2AAA |
|---|---|
| RGB | rgb(154, 42, 170) |
| HSL | hsl(293, 60%, 42%) |
| HSV | hsv(293, 75%, 67%) |
| CMYK | cmyk(9.4%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(40.29, 61.57, -45.10) |
| CIE-LCH | lch(40.29, 76.32, 323.78°) |
| OKLab | oklab(51.24% 0.1634 -0.1261) |
| OKLCH | oklch(51.24% 0.206 322.3) |
| XYZ | xyz(21.4093, 11.4295, 39.1008) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.32
Purply
#983FB2
ΔE00 3.68
Barney Purple
#A00498
ΔE00 4.39
Warm Purple
#952E8F
ΔE00 4.83
Medium Purple
#9E43A2
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2AAA #3AAA2A
analogous
#5A2AAA #9A2AAA #AA2A7A
triadic
#9A2AAA #AA9A2A #2AAA9A
tetradic
#9A2AAA #AA5A2A #3AAA2A #2A7AAA
square
#9A2AAA #AA5A2A #3AAA2A #2A7AAA
split-complementary
#9A2AAA #7AAA2A #2AAA5A
monochromatic
#411248 #6E1E79 #9A2AAA #BE41D0 #CF72DC
Accessibility & contrast
On white
6.39
#9A2AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9A2AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2AAA
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2AAA | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#9C4368
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2aaa; /* rgb */ color: rgb(154, 42, 170); /* oklch */ color: oklch(51.2% 0.206 322.3);
Tailwind
colors: {
custom: {
50: '#bc70c4',
500: '#9a2aaa',
950: '#000000',
},
}SCSS
$custom: #9a2aaa; $custom-light: #bc70c4; $custom-dark: #000000;
JSON
{
"hex": "#9a2aaa",
"rgb": {
"r": 154,
"g": 42,
"b": 170
},
"hsl": {
"h": 292.5,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.51238,
"c": 0.20637,
"h": 322.3
},
"luminance": 0.11428
}Semantic roles & 50–950 ramp
primary
#9A2AAA
secondary
#77C36C
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82