#D28DEE#D28DEE

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

Color values

HEX#D28DEE
RGBrgb(210, 141, 238)
HSLhsl(283, 74%, 74%)
HSVhsv(283, 41%, 93%)
CMYKcmyk(11.8%, 40.8%, 0%, 6.7%)
CIE-LABlab(68.70, 42.64, -38.61)
CIE-LCHlch(68.70, 57.52, 317.84°)
OKLaboklab(74.74% 0.1092 -0.1066)
OKLCHoklch(74.74% 0.153 315.7)
XYZxyz(51.5335, 38.9257, 85.6711)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28DEE #A9EE8D
analogous
#A28DEE #D28DEE #EE8DDA
triadic
#D28DEE #EED28D #8DEED2
tetradic
#D28DEE #EEA28D #A9EE8D #8DDAEE
square
#D28DEE #EEA28D #A9EE8D #8DDAEE
split-complementary
#D28DEE #DAEE8D #8DEEA2
monochromatic
#A822DE #BD58E6 #D28DEE #E7C2F6 #F4E4FB

Accessibility & contrast

On white

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

On black

8.78
#D28DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28DEE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28DEE#FFFFFF#000000##000000
##D28DEE1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F2
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#D19AB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28dee;
/* rgb */ color: rgb(210, 141, 238);
/* oklch */ color: oklch(74.7% 0.153 315.7);
Tailwind
colors: {
  custom: {
    50: '#e1aff4',
    500: '#d28dee',
    950: '#000000',
  },
}
SCSS
$custom: #d28dee;
$custom-light: #e1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28dee",
  "rgb": {
    "r": 210,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 282.68,
    "s": 74.046,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.15259,
    "h": 315.7
  },
  "luminance": 0.38924
}

Semantic roles & 50–950 ramp

primary
#D28DEE
secondary
#E0F3D8
accent
#D60F49
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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