#D38CED#D38CED

#D38CED is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.6% C 0.154 H 316.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D38CED
RGBrgb(211, 140, 237)
HSLhsl(284, 73%, 74%)
HSVhsv(284, 41%, 93%)
CMYKcmyk(11%, 40.9%, 0%, 7.1%)
CIE-LABlab(68.55, 43.26, -38.28)
CIE-LCHlch(68.55, 57.77, 318.49°)
OKLaboklab(74.64% 0.1116 -0.1056)
OKLCHoklch(74.64% 0.154 316.6)
XYZxyz(51.5259, 38.7209, 84.8639)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CED #A6ED8C
analogous
#A38CED #D38CED #ED8CD6
triadic
#D38CED #EDD38C #8CEDD3
tetradic
#D38CED #EDA38C #A6ED8C #8CD6ED
square
#D38CED #EDA38C #A6ED8C #8CD6ED
split-complementary
#D38CED #D6ED8C #8CEDA3
monochromatic
#AA22DC #BF57E5 #D38CED #E7C1F5 #F5E5FB

Accessibility & contrast

On white

2.40
#D38CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D38CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CED
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CED#FFFFFF#000000##000000
##D38CED1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#D299B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d38ced;
/* rgb */ color: rgb(211, 140, 237);
/* oklch */ color: oklch(74.6% 0.154 316.6);
Tailwind
colors: {
  custom: {
    50: '#e2aff3',
    500: '#d38ced',
    950: '#000000',
  },
}
SCSS
$custom: #d38ced;
$custom-light: #e2aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ced",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 283.918,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74642,
    "c": 0.15364,
    "h": 316.6
  },
  "luminance": 0.38719
}

Semantic roles & 50–950 ramp

primary
#D38CED
secondary
#DFF3D8
accent
#D51045
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#151017
muted
#847F85

Preview Lab

Preview with #D38CED

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

Preview Lab → · Contrast checker → · Palette generator →

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