#D28EE2#D28EE2

#D28EE2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.4% C 0.138 H 319.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#D28EE2
RGBrgb(210, 142, 226)
HSLhsl(289, 59%, 72%)
HSVhsv(289, 37%, 89%)
CMYKcmyk(7.1%, 37.2%, 0%, 11.4%)
CIE-LABlab(68.42, 39.70, -32.44)
CIE-LCHlch(68.42, 51.27, 320.75°)
OKLaboklab(74.37% 0.1053 -0.0889)
OKLCHoklch(74.37% 0.138 319.8)
XYZxyz(49.9770, 38.5401, 76.7431)
Luminance0.3854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EE2 #9EE28E
analogous
#A88EE2 #D28EE2 #E28EC8
triadic
#D28EE2 #E2D28E #8EE2D2
tetradic
#D28EE2 #E2A88E #9EE28E #8EC8E2
square
#D28EE2 #E2A88E #9EE28E #8EC8E2
split-complementary
#D28EE2 #C8E28E #8EE2A8
monochromatic
#A832C3 #BF5DD6 #D28EE2 #E5BFEE #F5E7F9

Accessibility & contrast

On white

2.41
#D28EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#D28EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EE2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EE2#FFFFFF#000000##000000
##D28EE21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#94A9DF
Tritanopia (blue-blind)
#D398AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28ee2;
/* rgb */ color: rgb(210, 142, 226);
/* oklch */ color: oklch(74.4% 0.138 319.8);
Tailwind
colors: {
  custom: {
    50: '#e1b0eb',
    500: '#d28ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d28ee2;
$custom-light: #e1b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ee2",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 288.571,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7437,
    "c": 0.13782,
    "h": 319.8
  },
  "luminance": 0.38539
}

Semantic roles & 50–950 ramp

primary
#D28EE2
secondary
#DFF0DB
accent
#C71F3F
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #D28EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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