#D38DEC#D38DEC

#D38DEC is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.8% C 0.151 H 316.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D38DEC
RGBrgb(211, 141, 236)
HSLhsl(284, 71%, 74%)
HSVhsv(284, 40%, 93%)
CMYKcmyk(10.6%, 40.3%, 0%, 7.5%)
CIE-LABlab(68.72, 42.52, -37.47)
CIE-LCHlch(68.72, 56.68, 318.62°)
OKLaboklab(74.76% 0.11 -0.1033)
OKLCHoklch(74.76% 0.151 316.8)
XYZxyz(51.5270, 38.9561, 84.1456)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DEC #A6EC8D
analogous
#A48DEC #D38DEC #EC8DD6
triadic
#D38DEC #ECD38D #8DECD3
tetradic
#D38DEC #ECA48D #A6EC8D #8DD6EC
square
#D38DEC #ECA48D #A6EC8D #8DD6EC
split-complementary
#D38DEC #D6EC8D #8DECA4
monochromatic
#AA24DA #BF59E3 #D38DEC #E7C1F5 #F5E5FB

Accessibility & contrast

On white

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

On black

8.79
#D38DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DEC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DEC#FFFFFF#000000##000000
##D38DEC1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#D299B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38dec;
/* rgb */ color: rgb(211, 141, 236);
/* oklch */ color: oklch(74.8% 0.151 316.8);
Tailwind
colors: {
  custom: {
    50: '#e2aff2',
    500: '#d38dec',
    950: '#000000',
  },
}
SCSS
$custom: #d38dec;
$custom-light: #e2aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d38dec",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 284.211,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74757,
    "c": 0.15087,
    "h": 316.8
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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