#D28AED#D28AED

#D28AED is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.2% C 0.157 H 316.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D28AED
RGBrgb(210, 138, 237)
HSLhsl(284, 73%, 74%)
HSVhsv(284, 42%, 93%)
CMYKcmyk(11.4%, 41.8%, 0%, 7.1%)
CIE-LABlab(68.02, 44.03, -39.12)
CIE-LCHlch(68.02, 58.90, 318.38°)
OKLaboklab(74.22% 0.1133 -0.108)
OKLCHoklch(74.22% 0.157 316.4)
XYZxyz(50.9506, 37.9944, 84.7540)
Luminance0.3799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AED #A5ED8A
analogous
#A08AED #D28AED #ED8AD6
triadic
#D28AED #EDD28A #8AEDD2
tetradic
#D28AED #EDA08A #A5ED8A #8AD6ED
square
#D28AED #EDA08A #A5ED8A #8AD6ED
split-complementary
#D28AED #D6ED8A #8AEDA0
monochromatic
#A822DB #BE55E5 #D28AED #E6BFF5 #F5E4FB

Accessibility & contrast

On white

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

On black

8.60
#D28AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AED
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AED#FFFFFF#000000##000000
##D28AED1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F1
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#D197B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28aed;
/* rgb */ color: rgb(210, 138, 237);
/* oklch */ color: oklch(74.2% 0.157 316.4);
Tailwind
colors: {
  custom: {
    50: '#e1adf3',
    500: '#d28aed',
    950: '#000000',
  },
}
SCSS
$custom: #d28aed;
$custom-light: #e1adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d28aed",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74219,
    "c": 0.15652,
    "h": 316.4
  },
  "luminance": 0.37993
}

Semantic roles & 50–950 ramp

primary
#D28AED
secondary
#E0F3D8
accent
#D51046
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28AED

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

Preview Lab → · Contrast checker → · Palette generator →

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