#9D2DC2#9D2DC2
#9D2DC2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.225 H 316.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2DC2 |
|---|---|
| RGB | rgb(157, 45, 194) |
| HSL | hsl(285, 62%, 47%) |
| HSV | hsv(285, 77%, 76%) |
| CMYK | cmyk(19.1%, 76.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.67, 65.65, -55.40) |
| CIE-LCH | lch(42.67, 85.90, 319.84°) |
| OKLab | oklab(53.51% 0.1616 -0.1562) |
| OKLCH | oklch(53.51% 0.225 316) |
| XYZ | xyz(24.5791, 12.9409, 52.2316) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.94
Barney
#AC1DB8
ΔE00 3.49
Purply
#983FB2
ΔE00 3.52
Vibrant Purple
#AD03DE
ΔE00 4.18
Darkviolet
#9400D3
ΔE00 4.78
Violet (survey)
#9A0EEA
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2DC2 #52C22D
analogous
#532DC2 #9D2DC2 #C22D9C
triadic
#9D2DC2 #C29D2D #2DC29D
tetradic
#9D2DC2 #C2532D #52C22D #2D9CC2
square
#9D2DC2 #C2532D #52C22D #2D9CC2
split-complementary
#9D2DC2 #9CC22D #2DC253
monochromatic
#4D165F #752190 #9D2DC2 #B755D7 #CC86E3
Accessibility & contrast
On white
5.85
#9D2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#9D2DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2DC2
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2DC2 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#9A4F77
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9d2dc2; /* rgb */ color: rgb(157, 45, 194); /* oklch */ color: oklch(53.5% 0.225 316.0);
Tailwind
colors: {
custom: {
50: '#be73d5',
500: '#9d2dc2',
950: '#000000',
},
}SCSS
$custom: #9d2dc2; $custom-light: #be73d5; $custom-dark: #000000;
JSON
{
"hex": "#9d2dc2",
"rgb": {
"r": 157,
"g": 45,
"b": 194
},
"hsl": {
"h": 285.101,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.53514,
"c": 0.22474,
"h": 316
},
"luminance": 0.1294
}Semantic roles & 50–950 ramp
primary
#9D2DC2
secondary
#92CD7E
accent
#E5426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83