#D38DEE#D38DEE

#D38DEE is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.153 H 316.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D38DEE
RGBrgb(211, 141, 238)
HSLhsl(283, 74%, 74%)
HSVhsv(283, 41%, 93%)
CMYKcmyk(11.3%, 40.8%, 0%, 6.7%)
CIE-LABlab(68.80, 42.93, -38.43)
CIE-LCHlch(68.80, 57.62, 318.16°)
OKLaboklab(74.85% 0.1104 -0.106)
OKLCHoklch(74.85% 0.153 316.1)
XYZxyz(51.8192, 39.0730, 85.6845)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DEE #A8EE8D
analogous
#A38DEE #D38DEE #EE8DD9
triadic
#D38DEE #EED38D #8DEED3
tetradic
#D38DEE #EEA38D #A8EE8D #8DD9EE
square
#D38DEE #EEA38D #A8EE8D #8DD9EE
split-complementary
#D38DEE #D9EE8D #8DEEA3
monochromatic
#AA22DE #BE58E6 #D38DEE #E8C2F6 #F5E4FB

Accessibility & contrast

On white

2.38
#D38DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#D38DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DEE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DEE#FFFFFF#000000##000000
##D38DEE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#D29AB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38dee;
/* rgb */ color: rgb(211, 141, 238);
/* oklch */ color: oklch(74.8% 0.153 316.1);
Tailwind
colors: {
  custom: {
    50: '#e2aff4',
    500: '#d38dee',
    950: '#000000',
  },
}
SCSS
$custom: #d38dee;
$custom-light: #e2aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d38dee",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 283.299,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74848,
    "c": 0.15306,
    "h": 316.1
  },
  "luminance": 0.39072
}

Semantic roles & 50–950 ramp

primary
#D38DEE
secondary
#E0F3D8
accent
#D60F47
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#151017
muted
#847F85

Preview Lab

Preview with #D38DEE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D38DEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva