#9A2BA2#9A2BA2
#9A2BA2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 325.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2BA2 |
|---|---|
| RGB | rgb(154, 43, 162) |
| HSL | hsl(296, 58%, 40%) |
| HSV | hsv(296, 73%, 64%) |
| CMYK | cmyk(4.9%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(39.93, 59.81, -40.90) |
| CIE-LCH | lch(39.93, 72.46, 325.64°) |
| OKLab | oklab(50.82% 0.1629 -0.1138) |
| OKLCH | oklch(50.82% 0.199 325) |
| XYZ | xyz(20.7114, 11.2078, 35.2478) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Barney Purple
#A00498
ΔE00 3.52
Barney
#AC1DB8
ΔE00 4.05
Purply
#983FB2
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 4.67
Ugly Purple
#A442A0
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2BA2 #33A22B
analogous
#5E2BA2 #9A2BA2 #A22B6F
triadic
#9A2BA2 #A29A2B #2BA29A
tetradic
#9A2BA2 #A25E2B #33A22B #2B6FA2
square
#9A2BA2 #A25E2B #33A22B #2B6FA2
split-complementary
#9A2BA2 #6FA22B #2BA25E
monochromatic
#3E1141 #6C1E72 #9A2BA2 #C23ECC #D26FD9
Accessibility & contrast
On white
6.48
#9A2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9A2BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2BA2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2BA2 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9D3F64
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9a2ba2; /* rgb */ color: rgb(154, 43, 162); /* oklch */ color: oklch(50.8% 0.199 325.0);
Tailwind
colors: {
custom: {
50: '#bb70be',
500: '#9a2ba2',
950: '#000000',
},
}SCSS
$custom: #9a2ba2; $custom-light: #bb70be; $custom-dark: #000000;
JSON
{
"hex": "#9a2ba2",
"rgb": {
"r": 154,
"g": 43,
"b": 162
},
"hsl": {
"h": 295.966,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.50822,
"c": 0.19872,
"h": 325
},
"luminance": 0.11206
}Semantic roles & 50–950 ramp
primary
#9A2BA2
secondary
#6FC069
accent
#E14751
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81