#9D2CAC#9D2CAC
#9D2CAC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 322.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2CAC |
|---|---|
| RGB | rgb(157, 44, 172) |
| HSL | hsl(293, 59%, 42%) |
| HSV | hsv(293, 74%, 67%) |
| CMYK | cmyk(8.7%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(41.14, 61.88, -44.92) |
| CIE-LCH | lch(41.14, 76.47, 324.03°) |
| OKLab | oklab(51.97% 0.1649 -0.1255) |
| OKLCH | oklch(51.97% 0.207 322.7) |
| XYZ | xyz(22.2510, 11.9493, 40.1562) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.76
Purply
#983FB2
ΔE00 3.24
Medium Purple
#9E43A2
ΔE00 4.70
Barney Purple
#A00498
ΔE00 4.73
Warm Purple
#952E8F
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2CAC #3BAC2C
analogous
#5D2CAC #9D2CAC #AC2C7B
triadic
#9D2CAC #AC9D2C #2CAC9D
tetradic
#9D2CAC #AC5D2C #3BAC2C #2C7BAC
square
#9D2CAC #AC5D2C #3BAC2C #2C7BAC
split-complementary
#9D2CAC #7BAC2C #2CAC5D
monochromatic
#44134B #71207B #9D2CAC #BF46D0 #D076DC
Accessibility & contrast
On white
6.20
#9D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9D2CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2CAC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2CAC | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#9F446A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9d2cac; /* rgb */ color: rgb(157, 44, 172); /* oklch */ color: oklch(52.0% 0.207 322.7);
Tailwind
colors: {
custom: {
50: '#be71c5',
500: '#9d2cac',
950: '#000000',
},
}SCSS
$custom: #9d2cac; $custom-light: #be71c5; $custom-dark: #000000;
JSON
{
"hex": "#9d2cac",
"rgb": {
"r": 157,
"g": 44,
"b": 172
},
"hsl": {
"h": 292.969,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.51971,
"c": 0.2072,
"h": 322.7
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#9D2CAC
secondary
#7AC470
accent
#E24558
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82