#9A2BA7#9A2BA7
#9A2BA7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.203 H 323.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2BA7 |
|---|---|
| RGB | rgb(154, 43, 167) |
| HSL | hsl(294, 59%, 41%) |
| HSV | hsv(294, 74%, 65%) |
| CMYK | cmyk(7.8%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(40.23, 60.70, -43.41) |
| CIE-LCH | lch(40.23, 74.62, 324.43°) |
| OKLab | oklab(51.13% 0.1627 -0.1212) |
| OKLCH | oklch(51.13% 0.203 323.3) |
| XYZ | xyz(21.1647, 11.3891, 37.6352) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.54
Purply
#983FB2
ΔE00 3.81
Barney Purple
#A00498
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.31
Medium Purple
#9E43A2
ΔE00 4.87
Ugly Purple
#A442A0
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2BA7 #38A72B
analogous
#5C2BA7 #9A2BA7 #A72B76
triadic
#9A2BA7 #A79A2B #2BA79A
tetradic
#9A2BA7 #A75C2B #38A72B #2B76A7
square
#9A2BA7 #A75C2B #38A72B #2B76A7
split-complementary
#9A2BA7 #76A72B #2BA75C
monochromatic
#401246 #6D1E76 #9A2BA7 #BF41CE #D072DB
Accessibility & contrast
On white
6.41
#9A2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9A2BA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2BA7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2BA7 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#9C4267
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9a2ba7; /* rgb */ color: rgb(154, 43, 167); /* oklch */ color: oklch(51.1% 0.203 323.3);
Tailwind
colors: {
custom: {
50: '#bb70c2',
500: '#9a2ba7',
950: '#000000',
},
}SCSS
$custom: #9a2ba7; $custom-light: #bb70c2; $custom-dark: #000000;
JSON
{
"hex": "#9a2ba7",
"rgb": {
"r": 154,
"g": 43,
"b": 167
},
"hsl": {
"h": 293.71,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.51132,
"c": 0.20283,
"h": 323.3
},
"luminance": 0.11388
}Semantic roles & 50–950 ramp
primary
#9A2BA7
secondary
#75C26C
accent
#E24656
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81