#9A1D9D#9A1D9D
#9A1D9D is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 327.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1D9D |
|---|---|
| RGB | rgb(154, 29, 157) |
| HSL | hsl(299, 69%, 36%) |
| HSV | hsv(299, 82%, 62%) |
| CMYK | cmyk(1.9%, 81.5%, 0%, 38.4%) |
| CIE-LAB | lab(38.17, 63.16, -40.69) |
| CIE-LCH | lch(38.17, 75.13, 327.21°) |
| OKLab | oklab(49.48% 0.1748 -0.1131) |
| OKLCH | oklch(49.48% 0.208 327.1) |
| XYZ | xyz(19.8513, 10.1845, 32.8120) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.89
Warm Purple
#952E8F
ΔE00 3.25
Darkmagenta
#8B008B
ΔE00 4.65
Barney
#AC1DB8
ΔE00 4.98
Purple (survey)
#7E1E9C
ΔE00 5.67
Purply
#983FB2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1D9D #209D1D
analogous
#5A1D9D #9A1D9D #9D1D60
triadic
#9A1D9D #9D9A1D #1D9D9A
tetradic
#9A1D9D #9D5A1D #209D1D #1D609D
square
#9A1D9D #9D5A1D #209D1D #1D609D
split-complementary
#9A1D9D #609D1D #1D9D5A
monochromatic
#350A36 #671369 #9A1D9D #CD27D1 #DC55E0
Accessibility & contrast
On white
6.92
#9A1D9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9A1D9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A1D9D
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1D9D | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#9F355E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a1d9d; /* rgb */ color: rgb(154, 29, 157); /* oklch */ color: oklch(49.5% 0.208 327.1);
Tailwind
colors: {
custom: {
50: '#bc6bba',
500: '#9a1d9d',
950: '#000000',
},
}SCSS
$custom: #9a1d9d; $custom-light: #bc6bba; $custom-dark: #000000;
JSON
{
"hex": "#9a1d9d",
"rgb": {
"r": 154,
"g": 29,
"b": 157
},
"hsl": {
"h": 298.594,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.49476,
"c": 0.20823,
"h": 327.1
},
"luminance": 0.10183
}Semantic roles & 50–950 ramp
primary
#9A1D9D
secondary
#56C353
accent
#EC3C40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81