#D852CE#D852CE

#D852CE is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.218 H 330.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#D852CE
RGBrgb(216, 82, 206)
HSLhsl(304, 63%, 58%)
HSVhsv(304, 62%, 85%)
CMYKcmyk(0%, 62%, 4.6%, 15.3%)
CIE-LABlab(57.17, 66.90, -38.71)
CIE-LCHlch(57.17, 77.30, 329.94°)
OKLaboklab(65.9% 0.1902 -0.1063)
OKLCHoklch(65.9% 0.218 330.8)
XYZxyz(42.4766, 25.0928, 60.9867)
Luminance0.2509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CE #52D85C
analogous
#9F52D8 #D852CE #D8528B
triadic
#D852CE #CED852 #52CED8
tetradic
#D852CE #D89F52 #52D85C #528BD8
square
#D852CE #D89F52 #52D85C #528BD8
split-complementary
#D852CE #8BD852 #52D89F
monochromatic
#8F2087 #C12CB6 #D852CE #E384DC #EFB6EA

Accessibility & contrast

On white

3.49
#D852CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#D852CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CE#FFFFFF#000000##000000
##D852CE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#E06089
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852ce;
/* rgb */ color: rgb(216, 82, 206);
/* oklch */ color: oklch(65.9% 0.218 330.8);
Tailwind
colors: {
  custom: {
    50: '#e78bdd',
    500: '#d852ce',
    950: '#000000',
  },
}
SCSS
$custom: #d852ce;
$custom-light: #e78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d852ce",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 304.478,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.659,
    "c": 0.21785,
    "h": 330.8
  },
  "luminance": 0.2509
}

Semantic roles & 50–950 ramp

primary
#D852CE
secondary
#A8DDAC
accent
#E64E42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D852CE

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

Preview Lab → · Contrast checker → · Palette generator →

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