#9A299B#9A299B
#9A299B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.195 H 327.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9A299B |
|---|---|
| RGB | rgb(154, 41, 155) |
| HSL | hsl(299, 58%, 38%) |
| HSV | hsv(299, 74%, 61%) |
| CMYK | cmyk(0.6%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(39.28, 59.29, -37.71) |
| CIE-LCH | lch(39.28, 70.26, 327.54°) |
| OKLab | oklab(50.23% 0.1649 -0.1045) |
| OKLCH | oklch(50.23% 0.195 327.6) |
| XYZ | xyz(20.0355, 10.8239, 32.0379) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.26
Barney Purple
#A00498
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 4.93
Barney
#AC1DB8
ΔE00 4.98
Ugly Purple
#A442A0
ΔE00 5.40
Purply
#983FB2
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A299B #2A9B29
analogous
#61299B #9A299B #9B2963
triadic
#9A299B #9B9A29 #299B9A
tetradic
#9A299B #9B6129 #2A9B29 #29639B
square
#9A299B #9B6129 #2A9B29 #29639B
split-complementary
#9A299B #639B29 #299B61
monochromatic
#3A0F3A #6A1C6B #9A299B #C937CA #D667D7
Accessibility & contrast
On white
6.64
#9A299B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9A299B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A299B
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A299B | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#9F3B60
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a299b; /* rgb */ color: rgb(154, 41, 155); /* oklch */ color: oklch(50.2% 0.195 327.6);
Tailwind
colors: {
custom: {
50: '#bb6fb9',
500: '#9a299b',
950: '#000000',
},
}SCSS
$custom: #9a299b; $custom-light: #bb6fb9; $custom-dark: #000000;
JSON
{
"hex": "#9a299b",
"rgb": {
"r": 154,
"g": 41,
"b": 155
},
"hsl": {
"h": 299.474,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.50229,
"c": 0.19527,
"h": 327.6
},
"luminance": 0.10822
}Semantic roles & 50–950 ramp
primary
#9A299B
secondary
#63BD63
accent
#E14648
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80