#D38CF2#D38CF2
#D38CF2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.9% C 0.159 H 315.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D38CF2 |
|---|---|
| RGB | rgb(211, 140, 242) |
| HSL | hsl(282, 80%, 75%) |
| HSV | hsv(282, 42%, 95%) |
| CMYK | cmyk(12.8%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(68.76, 44.28, -40.69) |
| CIE-LCH | lch(68.76, 60.13, 317.42°) |
| OKLab | oklab(74.87% 0.1125 -0.1125) |
| OKLCH | oklch(74.87% 0.159 315) |
| XYZ | xyz(52.2666, 39.0171, 88.7649) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.18
Baby Purple
#CA9BF7
ΔE00 4.46
Violet (CSS)
#EE82EE
ΔE00 5.51
Lavender (survey)
#C79FEF
ΔE00 5.85
Lilac (survey)
#CEA2FD
ΔE00 5.88
Pastel Purple
#CAA0FF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38CF2 #ABF28C
analogous
#A08CF2 #D38CF2 #F28CDE
triadic
#D38CF2 #F2D38C #8CF2D3
tetradic
#D38CF2 #F2A08C #ABF28C #8CDEF2
square
#D38CF2 #F2A08C #ABF28C #8CDEF2
split-complementary
#D38CF2 #DEF28C #8CF2A0
monochromatic
#A91EE6 #BE55EC #D38CF2 #E8C3F8 #F4E4FC
Accessibility & contrast
On white
2.39
#D38CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#D38CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38CF2
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38CF2 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#D19AB4
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d38cf2; /* rgb */ color: rgb(211, 140, 242); /* oklch */ color: oklch(74.9% 0.159 315.0);
Tailwind
colors: {
custom: {
50: '#e2aff6',
500: '#d38cf2',
950: '#000000',
},
}SCSS
$custom: #d38cf2; $custom-light: #e2aff6; $custom-dark: #000000;
JSON
{
"hex": "#d38cf2",
"rgb": {
"r": 211,
"g": 140,
"b": 242
},
"hsl": {
"h": 281.765,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.74874,
"c": 0.15913,
"h": 315
},
"luminance": 0.39016
}Semantic roles & 50–950 ramp
primary
#D38CF2
secondary
#E0F4D7
accent
#DC0A49
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#151017
muted
#847F85