#9A2B8D#9A2B8D
#9A2B8D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.182 H 333.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2B8D |
|---|---|
| RGB | rgb(154, 43, 141) |
| HSL | hsl(307, 56%, 39%) |
| HSV | hsv(307, 72%, 60%) |
| CMYK | cmyk(0%, 72.1%, 8.4%, 39.6%) |
| CIE-LAB | lab(38.76, 56.29, -30.02) |
| CIE-LCH | lch(38.76, 63.79, 331.93°) |
| OKLab | oklab(49.61% 0.1625 -0.0823) |
| OKLCH | oklch(49.61% 0.182 333.1) |
| XYZ | xyz(18.9981, 10.5224, 26.2246) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.21
Barney Purple
#A00498
ΔE00 3.64
Ugly Purple
#A442A0
ΔE00 5.62
Medium Purple
#9E43A2
ΔE00 5.65
Light Eggplant
#894585
ΔE00 5.76
Darkmagenta
#8B008B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2B8D #2B9A38
analogous
#6F2B9A #9A2B8D #9A2B55
triadic
#9A2B8D #8D9A2B #2B8D9A
tetradic
#9A2B8D #9A6F2B #2B9A38 #2B559A
square
#9A2B8D #9A6F2B #2B9A38 #2B559A
split-complementary
#9A2B8D #559A2B #2B9A6F
monochromatic
#3A1035 #6A1E61 #9A2B8D #C83AB7 #D56AC9
Accessibility & contrast
On white
6.77
#9A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9A2B8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2B8D
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2B8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2B8D | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A13659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9a2b8d; /* rgb */ color: rgb(154, 43, 141); /* oklch */ color: oklch(49.6% 0.182 333.1);
Tailwind
colors: {
custom: {
50: '#bb6fae',
500: '#9a2b8d',
950: '#000000',
},
}SCSS
$custom: #9a2b8d; $custom-light: #bb6fae; $custom-dark: #000000;
JSON
{
"hex": "#9a2b8d",
"rgb": {
"r": 154,
"g": 43,
"b": 141
},
"hsl": {
"h": 307.027,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.4961,
"c": 0.18212,
"h": 333.1
},
"luminance": 0.10521
}Semantic roles & 50–950 ramp
primary
#9A2B8D
secondary
#65BC6F
accent
#E05A48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F