#D38ECA#D38ECA

#D38ECA is a light, moderate purple. Relative luminance 0.375; OKLCH L 73.5% C 0.114 H 331.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D38ECA
RGBrgb(211, 142, 202)
HSLhsl(308, 44%, 69%)
HSVhsv(308, 33%, 83%)
CMYKcmyk(0%, 32.7%, 4.3%, 17.3%)
CIE-LABlab(67.62, 35.50, -20.35)
CIE-LCHlch(67.62, 40.92, 330.18°)
OKLaboklab(73.49% 0.1003 -0.0548)
OKLCHoklch(73.49% 0.114 331.3)
XYZxyz(47.1970, 37.4611, 60.6103)
Luminance0.3746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38ECA #8ED397
analogous
#BA8ED3 #D38ECA #D38EA8
triadic
#D38ECA #CAD38E #8ECAD3
tetradic
#D38ECA #D3BA8E #8ED397 #8EA8D3
square
#D38ECA #D3BA8E #8ED397 #8EA8D3
split-complementary
#D38ECA #A8D38E #8ED3BA
monochromatic
#A64199 #C262B5 #D38ECA #E4BADF #F5E6F3

Accessibility & contrast

On white

2.47
#D38ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D38ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38ECA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38ECA#FFFFFF#000000##000000
##D38ECA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#9DA8C8
Tritanopia (blue-blind)
#D992A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d38eca;
/* rgb */ color: rgb(211, 142, 202);
/* oklch */ color: oklch(73.5% 0.114 331.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0da',
    500: '#d38eca',
    950: '#000000',
  },
}
SCSS
$custom: #d38eca;
$custom-light: #e1b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#d38eca",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 307.826,
    "s": 43.949,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.11433,
    "h": 331.3
  },
  "luminance": 0.37459
}

Semantic roles & 50–950 ramp

primary
#D38ECA
secondary
#D4E8D7
accent
#B7402E
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #D38ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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