#D38CFB#D38CFB
#D38CFB is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.3% C 0.169 H 312.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D38CFB |
|---|---|
| RGB | rgb(211, 140, 251) |
| HSL | hsl(278, 93%, 77%) |
| HSV | hsv(278, 44%, 98%) |
| CMYK | cmyk(15.9%, 44.2%, 0%, 1.6%) |
| CIE-LAB | lab(69.16, 46.14, -44.99) |
| CIE-LCH | lch(69.16, 64.44, 315.73°) |
| OKLab | oklab(75.3% 0.114 -0.1249) |
| OKLCH | oklch(75.3% 0.169 312.4) |
| XYZ | xyz(53.6517, 39.5712, 96.0598) |
| Luminance | 0.3957 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.15
Baby Purple
#CA9BF7
ΔE00 4.36
Pastel Purple
#CAA0FF
ΔE00 5.55
Lilac (survey)
#CEA2FD
ΔE00 5.68
Light Purple
#BF77F6
ΔE00 6.06
Lavender (survey)
#C79FEF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D38CFB #B4FB8C
analogous
#9C8CFB #D38CFB #FB8CEC
triadic
#D38CFB #FBD38C #8CFBD3
tetradic
#D38CFB #FB9C8C #B4FB8C #8CECFB
square
#D38CFB #FB9C8C #B4FB8C #8CECFB
split-complementary
#D38CFB #ECFB8C #8CFB9C
monochromatic
#A616F7 #BC51F9 #D38CFB #EAC7FD #F4E1FE
Accessibility & contrast
On white
2.36
#D38CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#D38CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D38CFB
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D38CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D38CFB | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#88AAF8
Tritanopia (blue-blind)
#CF9DB8
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #d38cfb; /* rgb */ color: rgb(211, 140, 251); /* oklch */ color: oklch(75.3% 0.169 312.4);
Tailwind
colors: {
custom: {
50: '#e2affd',
500: '#d38cfb',
950: '#000000',
},
}SCSS
$custom: #d38cfb; $custom-light: #e2affd; $custom-dark: #000000;
JSON
{
"hex": "#d38cfb",
"rgb": {
"r": 211,
"g": 140,
"b": 251
},
"hsl": {
"h": 278.378,
"s": 93.277,
"l": 76.667
},
"oklch": {
"l": 0.75304,
"c": 0.16912,
"h": 312.4
},
"luminance": 0.3957
}Semantic roles & 50–950 ramp
primary
#D38CFB
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85