#9D2CD4#9D2CD4
#9D2CD4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.241 H 311.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2CD4 |
|---|---|
| RGB | rgb(157, 44, 212) |
| HSL | hsl(280, 66%, 50%) |
| HSV | hsv(280, 79%, 83%) |
| CMYK | cmyk(25.9%, 79.2%, 0%, 16.9%) |
| CIE-LAB | lab(43.83, 69.50, -63.95) |
| CIE-LCH | lch(43.83, 94.45, 317.38°) |
| OKLab | oklab(54.73% 0.159 -0.1813) |
| OKLCH | oklch(54.73% 0.241 311.3) |
| XYZ | xyz(26.6867, 13.7236, 63.5177) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.21
Vibrant Purple
#AD03DE
ΔE00 2.77
Violet (survey)
#9A0EEA
ΔE00 3.48
Blueviolet
#8A2BE2
ΔE00 4.00
Darkviolet
#9400D3
ΔE00 4.20
Vivid Purple
#9900FA
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2CD4 #63D42C
analogous
#492CD4 #9D2CD4 #D42CB7
triadic
#9D2CD4 #D49D2C #2CD49D
tetradic
#9D2CD4 #D4492C #63D42C #2CB7D4
square
#9D2CD4 #D4492C #63D42C #2CB7D4
split-complementary
#9D2CD4 #B7D42C #2CD449
monochromatic
#52176F #7821A2 #9D2CD4 #B55FDE #CC92E9
Accessibility & contrast
On white
5.61
#9D2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#9D2CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2CD4
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2CD4 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#965781
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9d2cd4; /* rgb */ color: rgb(157, 44, 212); /* oklch */ color: oklch(54.7% 0.241 311.3);
Tailwind
colors: {
custom: {
50: '#bf73e2',
500: '#9d2cd4',
950: '#000000',
},
}SCSS
$custom: #9d2cd4; $custom-light: #bf73e2; $custom-dark: #000000;
JSON
{
"hex": "#9d2cd4",
"rgb": {
"r": 157,
"g": 44,
"b": 212
},
"hsl": {
"h": 280.357,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.5473,
"c": 0.24118,
"h": 311.3
},
"luminance": 0.13723
}Semantic roles & 50–950 ramp
primary
#9D2CD4
secondary
#A1D388
accent
#E93F76
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84