#9D3ECC#9D3ECC
#9D3ECC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.215 H 312.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3ECC |
|---|---|
| RGB | rgb(157, 62, 204) |
| HSL | hsl(280, 58%, 52%) |
| HSV | hsv(280, 70%, 80%) |
| CMYK | cmyk(23%, 69.6%, 0%, 20%) |
| CIE-LAB | lab(45.60, 61.23, -56.49) |
| CIE-LCH | lch(45.60, 83.31, 317.31°) |
| OKLab | oklab(55.8% 0.1443 -0.1595) |
| OKLCH | oklch(55.8% 0.215 312.1) |
| XYZ | xyz(26.5243, 14.9737, 58.6080) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.35
Purply
#983FB2
ΔE00 4.12
Vibrant Purple
#AD03DE
ΔE00 4.70
Barney
#AC1DB8
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 5.94
Violet (survey)
#9A0EEA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3ECC #6DCC3E
analogous
#563ECC #9D3ECC #CC3EB4
triadic
#9D3ECC #CC9D3E #3ECC9D
tetradic
#9D3ECC #CC563E #6DCC3E #3EB4CC
square
#9D3ECC #CC563E #6DCC3E #3EB4CC
split-complementary
#9D3ECC #B4CC3E #3ECC56
monochromatic
#561E72 #7B2BA2 #9D3ECC #B66ED9 #CE9FE6
Accessibility & contrast
On white
5.26
#9D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9D3ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3ECC
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3ECC | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#975C81
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9d3ecc; /* rgb */ color: rgb(157, 62, 204); /* oklch */ color: oklch(55.8% 0.215 312.1);
Tailwind
colors: {
custom: {
50: '#be7bdc',
500: '#9d3ecc',
950: '#000000',
},
}SCSS
$custom: #9d3ecc; $custom-light: #be7bdc; $custom-dark: #000000;
JSON
{
"hex": "#9d3ecc",
"rgb": {
"r": 157,
"g": 62,
"b": 204
},
"hsl": {
"h": 280.141,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.55801,
"c": 0.21507,
"h": 312.1
},
"luminance": 0.14973
}Semantic roles & 50–950 ramp
primary
#9D3ECC
secondary
#A8D294
accent
#E1467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83