#9A2E97#9A2E97
#9A2E97 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.186 H 329.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2E97 |
|---|---|
| RGB | rgb(154, 46, 151) |
| HSL | hsl(302, 54%, 39%) |
| HSV | hsv(302, 70%, 60%) |
| CMYK | cmyk(0%, 70.1%, 1.9%, 39.6%) |
| CIE-LAB | lab(39.68, 56.84, -34.66) |
| CIE-LCH | lch(39.68, 66.57, 328.63°) |
| OKLab | oklab(50.44% 0.1599 -0.0957) |
| OKLCH | oklch(50.44% 0.186 329.1) |
| XYZ | xyz(19.8892, 11.0598, 30.3594) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.52
Barney Purple
#A00498
ΔE00 3.36
Medium Purple
#9E43A2
ΔE00 4.39
Ugly Purple
#A442A0
ΔE00 4.73
Barney
#AC1DB8
ΔE00 5.63
Purply
#983FB2
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2E97 #2E9A31
analogous
#672E9A #9A2E97 #9A2E61
triadic
#9A2E97 #979A2E #2E979A
tetradic
#9A2E97 #9A672E #2E9A31 #2E619A
square
#9A2E97 #9A672E #2E9A31 #2E619A
split-complementary
#9A2E97 #619A2E #2E9A67
monochromatic
#3C123B #6B2069 #9A2E97 #C63FC2 #D46FD1
Accessibility & contrast
On white
6.54
#9A2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9A2E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2E97
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2E97 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#9F3C5F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9a2e97; /* rgb */ color: rgb(154, 46, 151); /* oklch */ color: oklch(50.4% 0.186 329.1);
Tailwind
colors: {
custom: {
50: '#bb71b6',
500: '#9a2e97',
950: '#000000',
},
}SCSS
$custom: #9a2e97; $custom-light: #bb71b6; $custom-dark: #000000;
JSON
{
"hex": "#9a2e97",
"rgb": {
"r": 154,
"g": 46,
"b": 151
},
"hsl": {
"h": 301.667,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.50443,
"c": 0.18633,
"h": 329.1
},
"luminance": 0.11058
}Semantic roles & 50–950 ramp
primary
#9A2E97
secondary
#69BB6B
accent
#DD4F4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80