#D852CF#D852CF

#D852CF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.219 H 330.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D852CF
RGBrgb(216, 82, 207)
HSLhsl(304, 63%, 58%)
HSVhsv(304, 62%, 85%)
CMYKcmyk(0%, 62%, 4.2%, 15.3%)
CIE-LABlab(57.21, 67.06, -39.21)
CIE-LCHlch(57.21, 77.69, 329.69°)
OKLaboklab(65.95% 0.1903 -0.1077)
OKLCHoklch(65.95% 0.219 330.5)
XYZxyz(42.5985, 25.1416, 61.6285)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CF #52D85B
analogous
#9E52D8 #D852CF #D8528C
triadic
#D852CF #CFD852 #52CFD8
tetradic
#D852CF #D89E52 #52D85B #528CD8
square
#D852CF #D89E52 #52D85B #528CD8
split-complementary
#D852CF #8CD852 #52D89E
monochromatic
#8F2088 #C12CB7 #D852CF #E384DD #EFB6EB

Accessibility & contrast

On white

3.48
#D852CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D852CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CF#FFFFFF#000000##000000
##D852CF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ED3
Deuteranopia (green-blind)
#7690CB
Tritanopia (blue-blind)
#E06089
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852cf;
/* rgb */ color: rgb(216, 82, 207);
/* oklch */ color: oklch(66.0% 0.219 330.5);
Tailwind
colors: {
  custom: {
    50: '#e78bde',
    500: '#d852cf',
    950: '#000000',
  },
}
SCSS
$custom: #d852cf;
$custom-light: #e78bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d852cf",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 304.03,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.21863,
    "h": 330.5
  },
  "luminance": 0.25139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D852CF

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

Preview Lab → · Contrast checker → · Palette generator →

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