#D28AE9#D28AE9

#D28AE9 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.0% C 0.152 H 317.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D28AE9
RGBrgb(210, 138, 233)
HSLhsl(285, 68%, 73%)
HSVhsv(285, 41%, 91%)
CMYKcmyk(9.9%, 40.8%, 0%, 8.6%)
CIE-LABlab(67.85, 43.22, -37.19)
CIE-LCHlch(67.85, 57.02, 319.29°)
OKLaboklab(74.03% 0.1125 -0.1025)
OKLCHoklch(74.03% 0.152 317.7)
XYZxyz(50.3727, 37.7632, 81.7105)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AE9 #A1E98A
analogous
#A38AE9 #D28AE9 #E98AD0
triadic
#D28AE9 #E9D28A #8AE9D2
tetradic
#D28AE9 #E9A38A #A1E98A #8AD0E9
square
#D28AE9 #E9A38A #A1E98A #8AD0E9
split-complementary
#D28AE9 #D0E98A #8AE9A3
monochromatic
#A827D1 #BE56DF #D28AE9 #E6BEF3 #F5E5FA

Accessibility & contrast

On white

2.46
#D28AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D28AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AE9
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AE9#FFFFFF#000000##000000
##D28AE91.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EC
Deuteranopia (green-blind)
#8EA8E6
Tritanopia (blue-blind)
#D296AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28ae9;
/* rgb */ color: rgb(210, 138, 233);
/* oklch */ color: oklch(74.0% 0.152 317.7);
Tailwind
colors: {
  custom: {
    50: '#e1adf0',
    500: '#d28ae9',
    950: '#000000',
  },
}
SCSS
$custom: #d28ae9;
$custom-light: #e1adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ae9",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 233
  },
  "hsl": {
    "h": 285.474,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.15218,
    "h": 317.7
  },
  "luminance": 0.37762
}

Semantic roles & 50–950 ramp

primary
#D28AE9
secondary
#DFF2D9
accent
#D01543
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D28AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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