#9C2DD0#9C2DD0
#9C2DD0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.237 H 311.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2DD0 |
|---|---|
| RGB | rgb(156, 45, 208) |
| HSL | hsl(281, 64%, 50%) |
| HSV | hsv(281, 78%, 82%) |
| CMYK | cmyk(25%, 78.4%, 0%, 18.4%) |
| CIE-LAB | lab(43.51, 68.21, -62.18) |
| CIE-LCH | lch(43.51, 92.30, 317.65°) |
| OKLab | oklab(54.38% 0.1578 -0.1762) |
| OKLCH | oklch(54.38% 0.237 311.9) |
| XYZ | xyz(26.0317, 13.4995, 60.8966) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.76
Vibrant Purple
#AD03DE
ΔE00 3.07
Violet (survey)
#9A0EEA
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 4.13
Blueviolet
#8A2BE2
ΔE00 4.23
Purply
#983FB2
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2DD0 #61D02D
analogous
#4B2DD0 #9C2DD0 #D02DB3
triadic
#9C2DD0 #D09C2D #2DD09C
tetradic
#9C2DD0 #D04B2D #61D02D #2DB3D0
square
#9C2DD0 #D04B2D #61D02D #2DB3D0
split-complementary
#9C2DD0 #B3D02D #2DD04B
monochromatic
#51176B #76229E #9C2DD0 #B45EDC #CB90E7
Accessibility & contrast
On white
5.68
#9C2DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9C2DD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2DD0
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2DD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2DD0 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0369CD
Tritanopia (blue-blind)
#95557F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9c2dd0; /* rgb */ color: rgb(156, 45, 208); /* oklch */ color: oklch(54.4% 0.237 311.9);
Tailwind
colors: {
custom: {
50: '#be73df',
500: '#9c2dd0',
950: '#000000',
},
}SCSS
$custom: #9c2dd0; $custom-light: #be73df; $custom-dark: #000000;
JSON
{
"hex": "#9c2dd0",
"rgb": {
"r": 156,
"g": 45,
"b": 208
},
"hsl": {
"h": 280.859,
"s": 64.427,
"l": 49.608
},
"oklch": {
"l": 0.54379,
"c": 0.23652,
"h": 311.9
},
"luminance": 0.13499
}Semantic roles & 50–950 ramp
primary
#9C2DD0
secondary
#9FD287
accent
#E74076
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83