#D38CDC#D38CDC
#D38CDC is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.9% C 0.136 H 322.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D38CDC |
|---|---|
| RGB | rgb(211, 140, 220) |
| HSL | hsl(293, 53%, 71%) |
| HSV | hsv(293, 36%, 86%) |
| CMYK | cmyk(4.1%, 36.4%, 0%, 13.7%) |
| CIE-LAB | lab(67.85, 39.91, -29.99) |
| CIE-LCH | lch(67.85, 49.92, 323.08°) |
| OKLab | oklab(73.89% 0.108 -0.0819) |
| OKLCH | oklch(73.89% 0.136 322.8) |
| XYZ | xyz(49.1589, 37.7741, 72.3979) |
| Luminance | 0.3777 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.85
Violet (CSS)
#EE82EE
ΔE00 5.31
Plum
#DDA0DD
ΔE00 5.68
Pale Purple
#B790D4
ΔE00 5.94
Orchid (survey)
#C875C4
ΔE00 6.36
Orchid
#DA70D6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38CDC #95DC8C
analogous
#AB8CDC #D38CDC #DC8CBD
triadic
#D38CDC #DCD38C #8CDCD3
tetradic
#D38CDC #DCAB8C #95DC8C #8CBDDC
square
#D38CDC #DCAB8C #95DC8C #8CBDDC
split-complementary
#D38CDC #BDDC8C #8CDCAB
monochromatic
#A837B6 #C15DCE #D38CDC #E5BBEA #F6E8F8
Accessibility & contrast
On white
2.45
#D38CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#D38CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38CDC
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38CDC | 1.00 | 2.45 | 8.55 | 8.55 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#D695AA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d38cdc; /* rgb */ color: rgb(211, 140, 220); /* oklch */ color: oklch(73.9% 0.136 322.8);
Tailwind
colors: {
custom: {
50: '#e1afe7',
500: '#d38cdc',
950: '#000000',
},
}SCSS
$custom: #d38cdc; $custom-light: #e1afe7; $custom-dark: #000000;
JSON
{
"hex": "#d38cdc",
"rgb": {
"r": 211,
"g": 140,
"b": 220
},
"hsl": {
"h": 293.25,
"s": 53.333,
"l": 70.588
},
"oklch": {
"l": 0.73891,
"c": 0.13555,
"h": 322.8
},
"luminance": 0.37772
}Semantic roles & 50–950 ramp
primary
#D38CDC
secondary
#D9EDD7
accent
#C12536
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84