#D852CD#D852CD

#D852CD is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.217 H 331.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D852CD
RGBrgb(216, 82, 205)
HSLhsl(305, 63%, 58%)
HSVhsv(305, 62%, 85%)
CMYKcmyk(0%, 62%, 5.1%, 15.3%)
CIE-LABlab(57.12, 66.74, -38.22)
CIE-LCHlch(57.12, 76.91, 330.20°)
OKLaboklab(65.85% 0.1901 -0.1049)
OKLCHoklch(65.85% 0.217 331.1)
XYZxyz(42.3555, 25.0444, 60.3490)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CD #52D85D
analogous
#A052D8 #D852CD #D8528A
triadic
#D852CD #CDD852 #52CDD8
tetradic
#D852CD #D8A052 #52D85D #528AD8
square
#D852CD #D8A052 #52D85D #528AD8
split-complementary
#D852CD #8AD852 #52D8A0
monochromatic
#8F2086 #C12CB5 #D852CD #E384DB #EFB6EA

Accessibility & contrast

On white

3.50
#D852CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D852CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CD#FFFFFF#000000##000000
##D852CD1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#7790C9
Tritanopia (blue-blind)
#E05F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852cd;
/* rgb */ color: rgb(216, 82, 205);
/* oklch */ color: oklch(65.9% 0.217 331.1);
Tailwind
colors: {
  custom: {
    50: '#e78bdc',
    500: '#d852cd',
    950: '#000000',
  },
}
SCSS
$custom: #d852cd;
$custom-light: #e78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d852cd",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 304.925,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65851,
    "c": 0.21708,
    "h": 331.1
  },
  "luminance": 0.25041
}

Semantic roles & 50–950 ramp

primary
#D852CD
secondary
#A8DDAD
accent
#E64F42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D852CD

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

Preview Lab → · Contrast checker → · Palette generator →

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