#9A2EA5#9A2EA5
#9A2EA5 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 323.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EA5 |
|---|---|
| RGB | rgb(154, 46, 165) |
| HSL | hsl(294, 56%, 41%) |
| HSV | hsv(294, 72%, 65%) |
| CMYK | cmyk(6.7%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(40.48, 59.28, -41.82) |
| CIE-LCH | lch(40.48, 72.55, 324.80°) |
| OKLab | oklab(51.27% 0.1599 -0.1165) |
| OKLCH | oklch(51.27% 0.198 323.9) |
| XYZ | xyz(21.0944, 11.5419, 36.7067) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.68
Barney
#AC1DB8
ΔE00 3.74
Warm Purple
#952E8F
ΔE00 3.94
Barney Purple
#A00498
ΔE00 4.15
Medium Purple
#9E43A2
ΔE00 4.35
Ugly Purple
#A442A0
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EA5 #39A52E
analogous
#5F2EA5 #9A2EA5 #A52E75
triadic
#9A2EA5 #A59A2E #2EA59A
tetradic
#9A2EA5 #A55F2E #39A52E #2E75A5
square
#9A2EA5 #A55F2E #39A52E #2E75A5
split-complementary
#9A2EA5 #75A52E #2EA55F
monochromatic
#411345 #6D2175 #9A2EA5 #BF45CB #CF75D8
Accessibility & contrast
On white
6.35
#9A2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#9A2EA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EA5
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EA5 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#9D4367
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2ea5; /* rgb */ color: rgb(154, 46, 165); /* oklch */ color: oklch(51.3% 0.198 323.9);
Tailwind
colors: {
custom: {
50: '#bb71c0',
500: '#9a2ea5',
950: '#000000',
},
}SCSS
$custom: #9a2ea5; $custom-light: #bb71c0; $custom-dark: #000000;
JSON
{
"hex": "#9a2ea5",
"rgb": {
"r": 154,
"g": 46,
"b": 165
},
"hsl": {
"h": 294.454,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.51272,
"c": 0.19782,
"h": 323.9
},
"luminance": 0.11541
}Semantic roles & 50–950 ramp
primary
#9A2EA5
secondary
#76C06F
accent
#E04856
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81