#D38CD3#D38CD3
#D38CD3 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.126 H 326.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D38CD3 |
|---|---|
| RGB | rgb(211, 140, 211) |
| HSL | hsl(300, 45%, 69%) |
| HSV | hsv(300, 34%, 83%) |
| CMYK | cmyk(0%, 33.6%, 0%, 17.3%) |
| CIE-LAB | lab(67.51, 38.22, -25.53) |
| CIE-LCH | lch(67.51, 45.96, 326.26°) |
| OKLab | oklab(73.52% 0.1058 -0.0693) |
| OKLCH | oklch(73.52% 0.126 326.8) |
| XYZ | xyz(47.9989, 37.3101, 66.2886) |
| Luminance | 0.3731 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.58
Plum
#DDA0DD
ΔE00 5.07
Orchid (survey)
#C875C4
ΔE00 5.98
Violet (CSS)
#EE82EE
ΔE00 6.26
Pale Purple
#B790D4
ΔE00 6.46
Orchid
#DA70D6
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38CD3 #8CD38C
analogous
#B08CD3 #D38CD3 #D38CB0
triadic
#D38CD3 #D3D38C #8CD3D3
tetradic
#D38CD3 #D3B08C #8CD38C #8CB0D3
square
#D38CD3 #D3B08C #8CD38C #8CB0D3
split-complementary
#D38CD3 #B0D38C #8CD3B0
monochromatic
#A53FA5 #C260C2 #D38CD3 #E4B8E4 #F5E5F5
Accessibility & contrast
On white
2.48
#D38CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#D38CD3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38CD3
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38CD3 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879FD6
Deuteranopia (green-blind)
#99A8D1
Tritanopia (blue-blind)
#D792A6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d38cd3; /* rgb */ color: rgb(211, 140, 211); /* oklch */ color: oklch(73.5% 0.126 326.8);
Tailwind
colors: {
custom: {
50: '#e1afe0',
500: '#d38cd3',
950: '#000000',
},
}SCSS
$custom: #d38cd3; $custom-light: #e1afe0; $custom-dark: #000000;
JSON
{
"hex": "#d38cd3",
"rgb": {
"r": 211,
"g": 140,
"b": 211
},
"hsl": {
"h": 300,
"s": 44.654,
"l": 68.824
},
"oklch": {
"l": 0.73517,
"c": 0.12646,
"h": 326.8
},
"luminance": 0.37308
}Semantic roles & 50–950 ramp
primary
#D38CD3
secondary
#D3E8D3
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83