#D336C1#D336C1
#D336C1 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 62.0% C 0.238 H 333.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D336C1 |
|---|---|
| RGB | rgb(211, 54, 193) |
| HSL | hsl(307, 64%, 52%) |
| HSV | hsv(307, 74%, 83%) |
| CMYK | cmyk(0%, 74.4%, 8.5%, 17.3%) |
| CIE-LAB | lab(52.22, 73.67, -39.09) |
| CIE-LCH | lch(52.22, 83.40, 332.05°) |
| OKLab | oklab(61.97% 0.213 -0.1073) |
| OKLCH | oklch(61.97% 0.238 333.3) |
| XYZ | xyz(37.8090, 20.3407, 52.3766) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.00
Pinky Purple
#C94CBE
ΔE00 2.78
Pinkish Purple
#D648D7
ΔE00 4.43
Purple Pink
#D725DE
ΔE00 4.47
Fuchsia (survey)
#ED0DD9
ΔE00 4.61
Purpleish Pink
#DF4EC8
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D336C1 #36D348
analogous
#9736D3 #D336C1 #D33673
triadic
#D336C1 #C1D336 #36C1D3
tetradic
#D336C1 #D39736 #36D348 #3673D3
square
#D336C1 #D39736 #36D348 #3673D3
split-complementary
#D336C1 #73D336 #36D397
monochromatic
#751A6B #A72598 #D336C1 #DE68D0 #E99AE0
Accessibility & contrast
On white
4.14
#D336C1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#D336C1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D336C1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D336C1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D336C1 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6EC5
Deuteranopia (green-blind)
#6C84BD
Tritanopia (blue-blind)
#DD4679
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d336c1; /* rgb */ color: rgb(211, 54, 193); /* oklch */ color: oklch(62.0% 0.238 333.3);
Tailwind
colors: {
custom: {
50: '#e57dd4',
500: '#d336c1',
950: '#000000',
},
}SCSS
$custom: #d336c1; $custom-light: #e57dd4; $custom-dark: #000000;
JSON
{
"hex": "#d336c1",
"rgb": {
"r": 211,
"g": 54,
"b": 193
},
"hsl": {
"h": 306.879,
"s": 64.082,
"l": 51.961
},
"oklch": {
"l": 0.61969,
"c": 0.23844,
"h": 333.3
},
"luminance": 0.20337
}Semantic roles & 50–950 ramp
primary
#D336C1
secondary
#90D598
accent
#E75441
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83