#D852DD#D852DD

#D852DD is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.230 H 326.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D852DD
RGBrgb(216, 82, 221)
HSLhsl(298, 67%, 59%)
HSVhsv(298, 63%, 87%)
CMYKcmyk(2.3%, 62.9%, 0%, 13.3%)
CIE-LABlab(57.90, 69.38, -46.05)
CIE-LCHlch(57.90, 83.27, 326.42°)
OKLaboklab(66.67% 0.1912 -0.1275)
OKLCHoklch(66.67% 0.23 326.3)
XYZxyz(44.3865, 25.8568, 71.0456)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852DD #57DD52
analogous
#9352DD #D852DD #DD529C
triadic
#D852DD #DDD852 #52DDD8
tetradic
#D852DD #DD9352 #57DD52 #529CDD
square
#D852DD #DD9352 #57DD52 #529CDD
split-complementary
#D852DD #9CDD52 #52DD93
monochromatic
#931E97 #C428CA #D852DD #E485E7 #EFB8F1

Accessibility & contrast

On white

3.40
#D852DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D852DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852DD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852DD#FFFFFF#000000##000000
##D852DD1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#DD6591
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d852dd;
/* rgb */ color: rgb(216, 82, 221);
/* oklch */ color: oklch(66.7% 0.230 326.3);
Tailwind
colors: {
  custom: {
    50: '#e78ce8',
    500: '#d852dd',
    950: '#000000',
  },
}
SCSS
$custom: #d852dd;
$custom-light: #e78ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#d852dd",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 297.842,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.22983,
    "h": 326.3
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#D852DD
secondary
#ACE0AA
accent
#EA3E44
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D852DD

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

Preview Lab → · Contrast checker → · Palette generator →

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