#9A2EA6#9A2EA6
#9A2EA6 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.199 H 323.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EA6 |
|---|---|
| RGB | rgb(154, 46, 166) |
| HSL | hsl(294, 57%, 42%) |
| HSV | hsv(294, 72%, 65%) |
| CMYK | cmyk(7.2%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(40.54, 59.46, -42.32) |
| CIE-LCH | lch(40.54, 72.98, 324.56°) |
| OKLab | oklab(51.33% 0.1598 -0.118) |
| OKLCH | oklch(51.33% 0.199 323.6) |
| XYZ | xyz(21.1857, 11.5785, 37.1880) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Barney
#AC1DB8
ΔE00 3.64
Warm Purple
#952E8F
ΔE00 4.12
Barney Purple
#A00498
ΔE00 4.26
Medium Purple
#9E43A2
ΔE00 4.41
Ugly Purple
#A442A0
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EA6 #3AA62E
analogous
#5E2EA6 #9A2EA6 #A62E76
triadic
#9A2EA6 #A69A2E #2EA69A
tetradic
#9A2EA6 #A65E2E #3AA62E #2E76A6
square
#9A2EA6 #A65E2E #3AA62E #2E76A6
split-complementary
#9A2EA6 #76A62E #2EA65E
monochromatic
#411346 #6E2176 #9A2EA6 #BE46CC #CF76D9
Accessibility & contrast
On white
6.33
#9A2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9A2EA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EA6
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EA6 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#9D4367
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9a2ea6; /* rgb */ color: rgb(154, 46, 166); /* oklch */ color: oklch(51.3% 0.199 323.6);
Tailwind
colors: {
custom: {
50: '#bb71c1',
500: '#9a2ea6',
950: '#000000',
},
}SCSS
$custom: #9a2ea6; $custom-light: #bb71c1; $custom-dark: #000000;
JSON
{
"hex": "#9a2ea6",
"rgb": {
"r": 154,
"g": 46,
"b": 166
},
"hsl": {
"h": 294,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.51334,
"c": 0.19867,
"h": 323.6
},
"luminance": 0.11577
}Semantic roles & 50–950 ramp
primary
#9A2EA6
secondary
#77C16F
accent
#E04857
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81