#9A2EA0#9A2EA0
#9A2EA0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2EA0 |
|---|---|
| RGB | rgb(154, 46, 160) |
| HSL | hsl(297, 55%, 40%) |
| HSV | hsv(297, 71%, 63%) |
| CMYK | cmyk(3.8%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(40.19, 58.39, -39.29) |
| CIE-LCH | lch(40.19, 70.38, 326.07°) |
| OKLab | oklab(50.97% 0.16 -0.1092) |
| OKLCH | oklch(50.97% 0.194 325.7) |
| XYZ | xyz(20.6481, 11.3634, 34.3567) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.06
Barney Purple
#A00498
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 4.20
Barney
#AC1DB8
ΔE00 4.31
Purply
#983FB2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2EA0 #34A02E
analogous
#612EA0 #9A2EA0 #A02E6D
triadic
#9A2EA0 #A09A2E #2EA09A
tetradic
#9A2EA0 #A0612E #34A02E #2E6DA0
square
#9A2EA0 #A0612E #34A02E #2E6DA0
split-complementary
#9A2EA0 #6DA02E #2EA061
monochromatic
#3E1341 #6C2070 #9A2EA0 #C242C9 #D172D6
Accessibility & contrast
On white
6.42
#9A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9A2EA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2EA0
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2EA0 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#9E4064
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2ea0; /* rgb */ color: rgb(154, 46, 160); /* oklch */ color: oklch(51.0% 0.194 325.7);
Tailwind
colors: {
custom: {
50: '#bb71bc',
500: '#9a2ea0',
950: '#000000',
},
}SCSS
$custom: #9a2ea0; $custom-light: #bb71bc; $custom-dark: #000000;
JSON
{
"hex": "#9a2ea0",
"rgb": {
"r": 154,
"g": 46,
"b": 160
},
"hsl": {
"h": 296.842,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.50968,
"c": 0.19366,
"h": 325.7
},
"luminance": 0.11362
}Semantic roles & 50–950 ramp
primary
#9A2EA0
secondary
#70BE6C
accent
#DF4951
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81