#D38DEB#D38DEB

#D38DEB is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.7% C 0.150 H 317.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D38DEB
RGBrgb(211, 141, 235)
HSLhsl(285, 70%, 74%)
HSVhsv(285, 40%, 92%)
CMYKcmyk(10.2%, 40%, 0%, 7.8%)
CIE-LABlab(68.68, 42.32, -36.98)
CIE-LCHlch(68.68, 56.21, 318.85°)
OKLaboklab(74.71% 0.1098 -0.1019)
OKLCHoklch(74.71% 0.15 317.1)
XYZxyz(51.3821, 38.8982, 83.3826)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DEB #A5EB8D
analogous
#A48DEB #D38DEB #EB8DD4
triadic
#D38DEB #EBD38D #8DEBD3
tetradic
#D38DEB #EBA48D #A5EB8D #8DD4EB
square
#D38DEB #EBA48D #A5EB8D #8DD4EB
split-complementary
#D38DEB #D4EB8D #8DEBA4
monochromatic
#AA26D8 #BF59E2 #D38DEB #E7C1F4 #F5E5FA

Accessibility & contrast

On white

2.39
#D38DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D38DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DEB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DEB#FFFFFF#000000##000000
##D38DEB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#D399B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d38deb;
/* rgb */ color: rgb(211, 141, 235);
/* oklch */ color: oklch(74.7% 0.150 317.1);
Tailwind
colors: {
  custom: {
    50: '#e2aff1',
    500: '#d38deb',
    950: '#000000',
  },
}
SCSS
$custom: #d38deb;
$custom-light: #e2aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d38deb",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 284.681,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74711,
    "c": 0.14978,
    "h": 317.1
  },
  "luminance": 0.38897
}

Semantic roles & 50–950 ramp

primary
#D38DEB
secondary
#DFF2D9
accent
#D21344
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#151017
muted
#847F85

Preview Lab

Preview with #D38DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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