#D852CA#D852CA

#D852CA is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.215 H 332.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D852CA
RGBrgb(216, 82, 202)
HSLhsl(306, 63%, 58%)
HSVhsv(306, 62%, 85%)
CMYKcmyk(0%, 62%, 6.5%, 15.3%)
CIE-LABlab(56.98, 66.26, -36.73)
CIE-LCHlch(56.98, 75.76, 331.00°)
OKLaboklab(65.7% 0.1897 -0.1006)
OKLCHoklch(65.7% 0.215 332.1)
XYZxyz(41.9968, 24.9009, 58.4601)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CA #52D860
analogous
#A352D8 #D852CA #D85287
triadic
#D852CA #CAD852 #52CAD8
tetradic
#D852CA #D8A352 #52D860 #5287D8
square
#D852CA #D8A352 #52D860 #5287D8
split-complementary
#D852CA #87D852 #52D8A3
monochromatic
#8F2084 #C12CB2 #D852CA #E384D9 #EFB6E9

Accessibility & contrast

On white

3.51
#D852CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D852CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CA#FFFFFF#000000##000000
##D852CA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#7990C6
Tritanopia (blue-blind)
#E15E87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852ca;
/* rgb */ color: rgb(216, 82, 202);
/* oklch */ color: oklch(65.7% 0.215 332.1);
Tailwind
colors: {
  custom: {
    50: '#e78bda',
    500: '#d852ca',
    950: '#000000',
  },
}
SCSS
$custom: #d852ca;
$custom-light: #e78bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d852ca",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 306.269,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.21476,
    "h": 332.1
  },
  "luminance": 0.24898
}

Semantic roles & 50–950 ramp

primary
#D852CA
secondary
#A8DDAE
accent
#E65342
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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