#D337C4#D337C4
#D337C4 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.240 H 332.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #D337C4 |
|---|---|
| RGB | rgb(211, 55, 196) |
| HSL | hsl(306, 64%, 52%) |
| HSV | hsv(306, 74%, 83%) |
| CMYK | cmyk(0%, 73.9%, 7.1%, 17.3%) |
| CIE-LAB | lab(52.48, 73.81, -40.42) |
| CIE-LCH | lch(52.48, 84.16, 331.30°) |
| OKLab | oklab(62.2% 0.2122 -0.1111) |
| OKLCH | oklch(62.2% 0.24 332.4) |
| XYZ | xyz(38.1941, 20.5700, 54.1727) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.28
Pinky Purple
#C94CBE
ΔE00 2.74
Pinkish Purple
#D648D7
ΔE00 3.98
Purple Pink
#D725DE
ΔE00 4.03
Fuchsia (survey)
#ED0DD9
ΔE00 4.34
Purpleish Pink
#DF4EC8
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D337C4 #37D346
analogous
#9437D3 #D337C4 #D33776
triadic
#D337C4 #C4D337 #37C4D3
tetradic
#D337C4 #D39437 #37D346 #3776D3
square
#D337C4 #D39437 #37D346 #3776D3
split-complementary
#D337C4 #76D337 #37D394
monochromatic
#761A6D #A8259B #D337C4 #DE69D3 #E99BE2
Accessibility & contrast
On white
4.11
#D337C4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#D337C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D337C4
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D337C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D337C4 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6FC8
Deuteranopia (green-blind)
#6B85C0
Tritanopia (blue-blind)
#DC497B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d337c4; /* rgb */ color: rgb(211, 55, 196); /* oklch */ color: oklch(62.2% 0.240 332.4);
Tailwind
colors: {
custom: {
50: '#e57ed6',
500: '#d337c4',
950: '#000000',
},
}SCSS
$custom: #d337c4; $custom-light: #e57ed6; $custom-dark: #000000;
JSON
{
"hex": "#d337c4",
"rgb": {
"r": 211,
"g": 55,
"b": 196
},
"hsl": {
"h": 305.769,
"s": 63.934,
"l": 52.157
},
"oklch": {
"l": 0.62201,
"c": 0.23954,
"h": 332.4
},
"luminance": 0.20567
}Semantic roles & 50–950 ramp
primary
#D337C4
secondary
#91D597
accent
#E75141
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83