#9D1D9C#9D1D9C
#9D1D9C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.209 H 328.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1D9C |
|---|---|
| RGB | rgb(157, 29, 156) |
| HSL | hsl(300, 69%, 36%) |
| HSV | hsv(300, 82%, 62%) |
| CMYK | cmyk(0%, 81.5%, 0.6%, 38.4%) |
| CIE-LAB | lab(38.64, 63.59, -39.31) |
| CIE-LCH | lch(38.64, 74.76, 328.28°) |
| OKLab | oklab(49.89% 0.1781 -0.109) |
| OKLCH | oklch(49.89% 0.209 328.5) |
| XYZ | xyz(20.3445, 10.4487, 32.3913) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.61
Warm Purple
#952E8F
ΔE00 2.98
Barney
#AC1DB8
ΔE00 4.86
Darkmagenta
#8B008B
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 6.00
Purply
#983FB2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1D9C #1D9D1E
analogous
#5E1D9D #9D1D9C #9D1D5C
triadic
#9D1D9C #9C9D1D #1D9C9D
tetradic
#9D1D9C #9D5E1D #1D9D1E #1D5C9D
square
#9D1D9C #9D5E1D #1D9D1E #1D5C9D
split-complementary
#9D1D9C #5C9D1D #1D9D5E
monochromatic
#360A35 #691369 #9D1D9C #D127CF #E055DE
Accessibility & contrast
On white
6.80
#9D1D9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9D1D9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D1D9C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1D9C | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#446199
Tritanopia (blue-blind)
#A2345E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d1d9c; /* rgb */ color: rgb(157, 29, 156); /* oklch */ color: oklch(49.9% 0.209 328.5);
Tailwind
colors: {
custom: {
50: '#be6bba',
500: '#9d1d9c',
950: '#000000',
},
}SCSS
$custom: #9d1d9c; $custom-light: #be6bba; $custom-dark: #000000;
JSON
{
"hex": "#9d1d9c",
"rgb": {
"r": 157,
"g": 29,
"b": 156
},
"hsl": {
"h": 300.469,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.49885,
"c": 0.2088,
"h": 328.5
},
"luminance": 0.10447
}Semantic roles & 50–950 ramp
primary
#9D1D9C
secondary
#53C354
accent
#EC3E3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80