#D38EDA#D38EDA

#D38EDA is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.1% C 0.130 H 323.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D38EDA
RGBrgb(211, 142, 218)
HSLhsl(294, 51%, 71%)
HSVhsv(294, 35%, 85%)
CMYKcmyk(3.2%, 34.9%, 0%, 14.5%)
CIE-LABlab(68.21, 38.46, -28.33)
CIE-LCHlch(68.21, 47.77, 323.62°)
OKLaboklab(74.13% 0.1046 -0.0772)
OKLCHoklch(74.13% 0.13 323.5)
XYZxyz(49.1905, 38.2585, 71.1095)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EDA #95DA8E
analogous
#AD8EDA #D38EDA #DA8EBB
triadic
#D38EDA #DAD38E #8EDAD3
tetradic
#D38EDA #DAAD8E #95DA8E #8EBBDA
square
#D38EDA #DAAD8E #95DA8E #8EBBDA
split-complementary
#D38EDA #BBDA8E #8EDAAD
monochromatic
#A83BB3 #C160CB #D38EDA #E5BCE9 #F6E8F7

Accessibility & contrast

On white

2.43
#D38EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D38EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EDA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EDA#FFFFFF#000000##000000
##D38EDA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#98A9D8
Tritanopia (blue-blind)
#D696AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d38eda;
/* rgb */ color: rgb(211, 142, 218);
/* oklch */ color: oklch(74.1% 0.130 323.5);
Tailwind
colors: {
  custom: {
    50: '#e1b0e5',
    500: '#d38eda',
    950: '#000000',
  },
}
SCSS
$custom: #d38eda;
$custom-light: #e1b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d38eda",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 294.474,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.13,
    "h": 323.5
  },
  "luminance": 0.38257
}

Semantic roles & 50–950 ramp

primary
#D38EDA
secondary
#D9ECD8
accent
#BE2735
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151015
muted
#837F84

Preview Lab

Preview with #D38EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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