#9D2FCC#9D2FCC
#9D2FCC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.231 H 313.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2FCC |
|---|---|
| RGB | rgb(157, 47, 204) |
| HSL | hsl(282, 63%, 49%) |
| HSV | hsv(282, 77%, 80%) |
| CMYK | cmyk(23%, 77%, 0%, 20%) |
| CIE-LAB | lab(43.60, 66.93, -59.72) |
| CIE-LCH | lch(43.60, 89.70, 318.26°) |
| OKLab | oklab(54.38% 0.1583 -0.1689) |
| OKLCH | oklch(54.38% 0.231 313.1) |
| XYZ | xyz(25.8183, 13.5616, 58.3726) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.71
Vibrant Purple
#AD03DE
ΔE00 3.31
Purply
#983FB2
ΔE00 4.47
Violet (survey)
#9A0EEA
ΔE00 4.54
Darkviolet
#9400D3
ΔE00 4.55
Barney
#AC1DB8
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2FCC #5ECC2F
analogous
#4E2FCC #9D2FCC #CC2FAD
triadic
#9D2FCC #CC9D2F #2FCC9D
tetradic
#9D2FCC #CC4E2F #5ECC2F #2FADCC
square
#9D2FCC #CC4E2F #5ECC2F #2FADCC
split-complementary
#9D2FCC #ADCC2F #2FCC4E
monochromatic
#501869 #77249A #9D2FCC #B55EDA #CC90E5
Accessibility & contrast
On white
5.66
#9D2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#9D2FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2FCC
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2FCC | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#98547D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9d2fcc; /* rgb */ color: rgb(157, 47, 204); /* oklch */ color: oklch(54.4% 0.231 313.1);
Tailwind
colors: {
custom: {
50: '#bf74dc',
500: '#9d2fcc',
950: '#000000',
},
}SCSS
$custom: #9d2fcc; $custom-light: #bf74dc; $custom-dark: #000000;
JSON
{
"hex": "#9d2fcc",
"rgb": {
"r": 157,
"g": 47,
"b": 204
},
"hsl": {
"h": 282.038,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.54383,
"c": 0.23145,
"h": 313.1
},
"luminance": 0.13561
}Semantic roles & 50–950 ramp
primary
#9D2FCC
secondary
#9DD087
accent
#E64273
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83