#D28EEC#D28EEC

#D28EEC is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.149 H 316.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D28EEC
RGBrgb(210, 142, 236)
HSLhsl(283, 71%, 74%)
HSVhsv(283, 40%, 93%)
CMYKcmyk(11%, 39.8%, 0%, 7.5%)
CIE-LABlab(68.83, 41.70, -37.31)
CIE-LCHlch(68.83, 55.95, 318.18°)
OKLaboklab(74.81% 0.1074 -0.1028)
OKLCHoklch(74.81% 0.149 316.2)
XYZxyz(51.3894, 39.1051, 84.1816)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EEC #A8EC8E
analogous
#A38EEC #D28EEC #EC8ED7
triadic
#D28EEC #ECD28E #8EECD2
tetradic
#D28EEC #ECA38E #A8EC8E #8ED7EC
square
#D28EEC #ECA38E #A8EC8E #8ED7EC
split-complementary
#D28EEC #D7EC8E #8EECA3
monochromatic
#A825DA #BD5AE3 #D28EEC #E7C2F5 #F5E5FB

Accessibility & contrast

On white

2.38
#D28EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D28EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EEC
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EEC#FFFFFF#000000##000000
##D28EEC1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#D19AB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28eec;
/* rgb */ color: rgb(210, 142, 236);
/* oklch */ color: oklch(74.8% 0.149 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1b0f2',
    500: '#d28eec',
    950: '#000000',
  },
}
SCSS
$custom: #d28eec;
$custom-light: #e1b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d28eec",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 283.404,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74814,
    "c": 0.1487,
    "h": 316.2
  },
  "luminance": 0.39104
}

Semantic roles & 50–950 ramp

primary
#D28EEC
secondary
#E0F2D9
accent
#D31248
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #D28EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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