#D338C0#D338C0
#D338C0 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.236 H 333.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D338C0 |
|---|---|
| RGB | rgb(211, 56, 192) |
| HSL | hsl(307, 64%, 52%) |
| HSV | hsv(307, 73%, 83%) |
| CMYK | cmyk(0%, 73.5%, 9%, 17.3%) |
| CIE-LAB | lab(52.38, 72.92, -38.25) |
| CIE-LCH | lch(52.38, 82.34, 332.32°) |
| OKLab | oklab(62.07% 0.2111 -0.1049) |
| OKLCH | oklch(62.07% 0.236 333.6) |
| XYZ | xyz(37.7929, 20.4862, 51.8227) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.02
Pinky Purple
#C94CBE
ΔE00 2.58
Pinkish Purple
#D648D7
ΔE00 4.41
Fuchsia (survey)
#ED0DD9
ΔE00 4.69
Purple Pink
#D725DE
ΔE00 4.70
Purpleish Pink
#DF4EC8
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D338C0 #38D34B
analogous
#9938D3 #D338C0 #D33872
triadic
#D338C0 #C0D338 #38C0D3
tetradic
#D338C0 #D39938 #38D34B #3872D3
square
#D338C0 #D39938 #38D34B #3872D3
split-complementary
#D338C0 #72D338 #38D399
monochromatic
#761A6B #A92598 #D338C0 #DE6AD0 #E99CE0
Accessibility & contrast
On white
4.12
#D338C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#D338C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D338C0
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D338C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D338C0 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336FC4
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#DD4779
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d338c0; /* rgb */ color: rgb(211, 56, 192); /* oklch */ color: oklch(62.1% 0.236 333.6);
Tailwind
colors: {
custom: {
50: '#e57ed3',
500: '#d338c0',
950: '#000000',
},
}SCSS
$custom: #d338c0; $custom-light: #e57ed3; $custom-dark: #000000;
JSON
{
"hex": "#d338c0",
"rgb": {
"r": 211,
"g": 56,
"b": 192
},
"hsl": {
"h": 307.355,
"s": 63.786,
"l": 52.353
},
"oklch": {
"l": 0.6207,
"c": 0.23574,
"h": 333.6
},
"luminance": 0.20483
}Semantic roles & 50–950 ramp
primary
#D338C0
secondary
#92D59A
accent
#E75541
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83