#D852D1#D852D1

#D852D1 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.220 H 329.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D852D1
RGBrgb(216, 82, 209)
HSLhsl(303, 63%, 58%)
HSVhsv(303, 62%, 85%)
CMYKcmyk(0%, 62%, 3.2%, 15.3%)
CIE-LABlab(57.31, 67.39, -40.20)
CIE-LCHlch(57.31, 78.47, 329.18°)
OKLaboklab(66.05% 0.1904 -0.1106)
OKLCHoklch(66.05% 0.22 329.9)
XYZxyz(42.8445, 25.2400, 62.9244)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852D1 #52D859
analogous
#9C52D8 #D852D1 #D8528E
triadic
#D852D1 #D1D852 #52D1D8
tetradic
#D852D1 #D89C52 #52D859 #528ED8
square
#D852D1 #D89C52 #52D859 #528ED8
split-complementary
#D852D1 #8ED852 #52D89C
monochromatic
#8F2089 #C12CB9 #D852D1 #E384DE #EFB6EC

Accessibility & contrast

On white

3.47
#D852D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D852D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852D1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852D1#FFFFFF#000000##000000
##D852D11.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED5
Deuteranopia (green-blind)
#7590CD
Tritanopia (blue-blind)
#E0618A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d852d1;
/* rgb */ color: rgb(216, 82, 209);
/* oklch */ color: oklch(66.0% 0.220 329.9);
Tailwind
colors: {
  custom: {
    50: '#e78bdf',
    500: '#d852d1',
    950: '#000000',
  },
}
SCSS
$custom: #d852d1;
$custom-light: #e78bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d852d1",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 303.134,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.2202,
    "h": 329.9
  },
  "luminance": 0.25237
}

Semantic roles & 50–950 ramp

primary
#D852D1
secondary
#A8DDAB
accent
#E64A42
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D852D1

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

Preview Lab → · Contrast checker → · Palette generator →

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