#D852CC#D852CC

#D852CC is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.216 H 331.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D852CC
RGBrgb(216, 82, 204)
HSLhsl(305, 63%, 58%)
HSVhsv(305, 62%, 85%)
CMYKcmyk(0%, 62%, 5.6%, 15.3%)
CIE-LABlab(57.07, 66.58, -37.72)
CIE-LCHlch(57.07, 76.53, 330.47°)
OKLaboklab(65.8% 0.19 -0.1034)
OKLCHoklch(65.8% 0.216 331.4)
XYZxyz(42.2352, 24.9962, 59.7153)
Luminance0.2499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CC #52D85E
analogous
#A152D8 #D852CC #D85289
triadic
#D852CC #CCD852 #52CCD8
tetradic
#D852CC #D8A152 #52D85E #5289D8
square
#D852CC #D8A152 #52D85E #5289D8
split-complementary
#D852CC #89D852 #52D8A1
monochromatic
#8F2085 #C12CB4 #D852CC #E384DB #EFB6E9

Accessibility & contrast

On white

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

On black

6.00
#D852CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CC#FFFFFF#000000##000000
##D852CC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#7890C8
Tritanopia (blue-blind)
#E05F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852cc;
/* rgb */ color: rgb(216, 82, 204);
/* oklch */ color: oklch(65.8% 0.216 331.4);
Tailwind
colors: {
  custom: {
    50: '#e78bdc',
    500: '#d852cc',
    950: '#000000',
  },
}
SCSS
$custom: #d852cc;
$custom-light: #e78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d852cc",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 305.373,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65801,
    "c": 0.2163,
    "h": 331.4
  },
  "luminance": 0.24993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D852CC

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

Preview Lab → · Contrast checker → · Palette generator →

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