#D28EEF#D28EEF

#D28EEF is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.0% C 0.152 H 315.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D28EEF
RGBrgb(210, 142, 239)
HSLhsl(282, 75%, 75%)
HSVhsv(282, 41%, 94%)
CMYKcmyk(12.1%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.95, 42.31, -38.76)
CIE-LCHlch(68.95, 57.38, 317.51°)
OKLaboklab(74.95% 0.108 -0.107)
OKLCHoklch(74.95% 0.152 315.3)
XYZxyz(51.8289, 39.2809, 86.4963)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EEF #ABEF8E
analogous
#A28EEF #D28EEF #EF8EDC
triadic
#D28EEF #EFD28E #8EEFD2
tetradic
#D28EEF #EFA28E #ABEF8E #8EDCEF
square
#D28EEF #EFA28E #ABEF8E #8EDCEF
split-complementary
#D28EEF #DCEF8E #8EEFA2
monochromatic
#A723E0 #BD58E7 #D28EEF #E7C4F7 #F4E4FB

Accessibility & contrast

On white

2.37
#D28EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#D28EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EEF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EEF#FFFFFF#000000##000000
##D28EEF1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#D09BB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28eef;
/* rgb */ color: rgb(210, 142, 239);
/* oklch */ color: oklch(75.0% 0.152 315.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0f4',
    500: '#d28eef',
    950: '#000000',
  },
}
SCSS
$custom: #d28eef;
$custom-light: #e1b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28eef",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 282.062,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.15202,
    "h": 315.3
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

primary
#D28EEF
secondary
#E0F3D8
accent
#D70E4A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #D28EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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