#D28AEE#D28AEE

#D28AEE is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.3% C 0.158 H 316.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D28AEE
RGBrgb(210, 138, 238)
HSLhsl(283, 75%, 74%)
HSVhsv(283, 42%, 93%)
CMYKcmyk(11.8%, 42%, 0%, 6.7%)
CIE-LABlab(68.06, 44.23, -39.60)
CIE-LCHlch(68.06, 59.37, 318.16°)
OKLaboklab(74.27% 0.1135 -0.1094)
OKLCHoklch(74.27% 0.158 316)
XYZxyz(51.0971, 38.0530, 85.5256)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AEE #A6EE8A
analogous
#A08AEE #D28AEE #EE8AD8
triadic
#D28AEE #EED28A #8AEED2
tetradic
#D28AEE #EEA08A #A6EE8A #8AD8EE
square
#D28AEE #EEA08A #A6EE8A #8AD8EE
split-complementary
#D28AEE #D8EE8A #8AEEA0
monochromatic
#A820DD #BD55E6 #D28AEE #E7BFF6 #F5E4FB

Accessibility & contrast

On white

2.44
#D28AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D28AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AEE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AEE#FFFFFF#000000##000000
##D28AEE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#D198B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28aee;
/* rgb */ color: rgb(210, 138, 238);
/* oklch */ color: oklch(74.3% 0.158 316.0);
Tailwind
colors: {
  custom: {
    50: '#e1adf4',
    500: '#d28aee',
    950: '#000000',
  },
}
SCSS
$custom: #d28aee;
$custom-light: #e1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d28aee",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 283.2,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74265,
    "c": 0.15761,
    "h": 316
  },
  "luminance": 0.38052
}

Semantic roles & 50–950 ramp

primary
#D28AEE
secondary
#E0F3D8
accent
#D70F47
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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