#9D1C9D#9D1C9D
#9D1C9D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.210 H 328.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C9D |
|---|---|
| RGB | rgb(157, 28, 157) |
| HSL | hsl(300, 70%, 36%) |
| HSV | hsv(300, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(38.61, 64.00, -39.96) |
| CIE-LCH | lch(38.61, 75.45, 328.02°) |
| OKLab | oklab(49.89% 0.1787 -0.1109) |
| OKLCH | oklch(49.89% 0.21 328.2) |
| XYZ | xyz(20.4055, 10.4345, 32.8311) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.64
Warm Purple
#952E8F
ΔE00 3.17
Barney
#AC1DB8
ΔE00 4.75
Darkmagenta
#8B008B
ΔE00 5.00
Medium Purple
#9E43A2
ΔE00 6.08
Purply
#983FB2
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C9D #1C9D1C
analogous
#5D1C9D #9D1C9D #9D1C5D
triadic
#9D1C9D #9D9D1C #1C9D9D
tetradic
#9D1C9D #9D5D1C #1C9D1C #1C5D9D
square
#9D1C9D #9D5D1C #1C9D1C #1C5D9D
split-complementary
#9D1C9D #5D9D1C #1C9D5D
monochromatic
#350935 #691369 #9D1C9D #D125D1 #E053E0
Accessibility & contrast
On white
6.80
#9D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9D1C9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D1C9D
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C9D | 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)
#0050A0
Deuteranopia (green-blind)
#44609A
Tritanopia (blue-blind)
#A2345E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d1c9d; /* rgb */ color: rgb(157, 28, 157); /* oklch */ color: oklch(49.9% 0.210 328.2);
Tailwind
colors: {
custom: {
50: '#be6bba',
500: '#9d1c9d',
950: '#000000',
},
}SCSS
$custom: #9d1c9d; $custom-light: #be6bba; $custom-dark: #000000;
JSON
{
"hex": "#9d1c9d",
"rgb": {
"r": 157,
"g": 28,
"b": 157
},
"hsl": {
"h": 300,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.49887,
"c": 0.21033,
"h": 328.2
},
"luminance": 0.10433
}Semantic roles & 50–950 ramp
primary
#9D1C9D
secondary
#51C351
accent
#ED3B3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81