#D38CD2#D38CD2
#D38CD2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.125 H 327.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D38CD2 |
|---|---|
| RGB | rgb(211, 140, 210) |
| HSL | hsl(301, 45%, 69%) |
| HSV | hsv(301, 34%, 83%) |
| CMYK | cmyk(0%, 33.6%, 0.5%, 17.3%) |
| CIE-LAB | lab(67.47, 38.03, -25.03) |
| CIE-LCH | lch(67.47, 45.53, 326.65°) |
| OKLab | oklab(73.48% 0.1055 -0.0679) |
| OKLCH | oklch(73.48% 0.125 327.2) |
| XYZ | xyz(47.8739, 37.2601, 65.6304) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.65
Plum
#DDA0DD
ΔE00 5.04
Orchid (survey)
#C875C4
ΔE00 5.97
Violet (CSS)
#EE82EE
ΔE00 6.40
Pale Purple
#B790D4
ΔE00 6.56
Orchid
#DA70D6
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38CD2 #8CD38D
analogous
#B18CD3 #D38CD2 #D38CAF
triadic
#D38CD2 #D2D38C #8CD2D3
tetradic
#D38CD2 #D3B18C #8CD38D #8CAFD3
square
#D38CD2 #D3B18C #8CD38D #8CAFD3
split-complementary
#D38CD2 #AFD38C #8CD3B1
monochromatic
#A53FA4 #C260C1 #D38CD2 #E4B8E3 #F5E5F5
Accessibility & contrast
On white
2.48
#D38CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#D38CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38CD2
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38CD2 | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879FD5
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#D792A6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d38cd2; /* rgb */ color: rgb(211, 140, 210); /* oklch */ color: oklch(73.5% 0.125 327.2);
Tailwind
colors: {
custom: {
50: '#e1afe0',
500: '#d38cd2',
950: '#000000',
},
}SCSS
$custom: #d38cd2; $custom-light: #e1afe0; $custom-dark: #000000;
JSON
{
"hex": "#d38cd2",
"rgb": {
"r": 211,
"g": 140,
"b": 210
},
"hsl": {
"h": 300.845,
"s": 44.654,
"l": 68.824
},
"oklch": {
"l": 0.73476,
"c": 0.12549,
"h": 327.2
},
"luminance": 0.37258
}Semantic roles & 50–950 ramp
primary
#D38CD2
secondary
#D3E8D3
accent
#B8302E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83