#D28DED#D28DED

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

Color values

HEX#D28DED
RGBrgb(210, 141, 237)
HSLhsl(283, 73%, 74%)
HSVhsv(283, 41%, 93%)
CMYKcmyk(11.4%, 40.5%, 0%, 7.1%)
CIE-LABlab(68.65, 42.43, -38.13)
CIE-LCHlch(68.65, 57.05, 318.06°)
OKLaboklab(74.7% 0.109 -0.1052)
OKLCHoklch(74.7% 0.151 316)
XYZxyz(51.3870, 38.8671, 84.8995)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DED #A8ED8D
analogous
#A28DED #D28DED #ED8DD8
triadic
#D28DED #EDD28D #8DEDD2
tetradic
#D28DED #EDA28D #A8ED8D #8DD8ED
square
#D28DED #EDA28D #A8ED8D #8DD8ED
split-complementary
#D28DED #D8ED8D #8DEDA2
monochromatic
#A823DC #BD58E5 #D28DED #E7C2F5 #F5E5FB

Accessibility & contrast

On white

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

On black

8.77
#D28DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DED
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DED#FFFFFF#000000##000000
##D28DED1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F1
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#D19AB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28ded;
/* rgb */ color: rgb(210, 141, 237);
/* oklch */ color: oklch(74.7% 0.151 316.0);
Tailwind
colors: {
  custom: {
    50: '#e1aff3',
    500: '#d28ded',
    950: '#000000',
  },
}
SCSS
$custom: #d28ded;
$custom-light: #e1aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ded",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 283.125,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74698,
    "c": 0.15149,
    "h": 316
  },
  "luminance": 0.38866
}

Semantic roles & 50–950 ramp

primary
#D28DED
secondary
#E0F2D9
accent
#D51148
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28DED

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

Preview Lab → · Contrast checker → · Palette generator →

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