#D28AEA#D28AEA

#D28AEA is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.1% C 0.153 H 317.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D28AEA
RGBrgb(210, 138, 234)
HSLhsl(285, 70%, 73%)
HSVhsv(285, 41%, 92%)
CMYKcmyk(10.3%, 41%, 0%, 8.2%)
CIE-LABlab(67.89, 43.42, -37.67)
CIE-LCHlch(67.89, 57.49, 319.06°)
OKLaboklab(74.08% 0.1127 -0.1038)
OKLCHoklch(74.08% 0.153 317.3)
XYZxyz(50.5160, 37.8205, 82.4650)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AEA #A2EA8A
analogous
#A28AEA #D28AEA #EA8AD2
triadic
#D28AEA #EAD28A #8AEAD2
tetradic
#D28AEA #EAA28A #A2EA8A #8AD2EA
square
#D28AEA #EAA28A #A2EA8A #8AD2EA
split-complementary
#D28AEA #D2EA8A #8AEAA2
monochromatic
#A826D4 #BE56E1 #D28AEA #E6BEF3 #F5E5FA

Accessibility & contrast

On white

2.45
#D28AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#D28AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AEA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AEA#FFFFFF#000000##000000
##D28AEA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#8DA8E7
Tritanopia (blue-blind)
#D297AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d28aea;
/* rgb */ color: rgb(210, 138, 234);
/* oklch */ color: oklch(74.1% 0.153 317.3);
Tailwind
colors: {
  custom: {
    50: '#e1adf1',
    500: '#d28aea',
    950: '#000000',
  },
}
SCSS
$custom: #d28aea;
$custom-light: #e1adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d28aea",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.15326,
    "h": 317.3
  },
  "luminance": 0.37819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D28AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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