#D852CB#D852CB

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

Color values

HEX#D852CB
RGBrgb(216, 82, 203)
HSLhsl(306, 63%, 58%)
HSVhsv(306, 62%, 85%)
CMYKcmyk(0%, 62%, 6%, 15.3%)
CIE-LABlab(57.03, 66.42, -37.23)
CIE-LCHlch(57.03, 76.14, 330.73°)
OKLaboklab(65.75% 0.1899 -0.102)
OKLCHoklch(65.75% 0.216 331.7)
XYZxyz(42.1156, 24.9484, 59.0857)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D852CB #52D85F
analogous
#A252D8 #D852CB #D85288
triadic
#D852CB #CBD852 #52CBD8
tetradic
#D852CB #D8A252 #52D85F #5288D8
square
#D852CB #D8A252 #52D85F #5288D8
split-complementary
#D852CB #88D852 #52D8A2
monochromatic
#8F2085 #C12CB3 #D852CB #E384DA #EFB6E9

Accessibility & contrast

On white

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

On black

5.99
#D852CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D852CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D852CB#FFFFFF#000000##000000
##D852CB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#7890C7
Tritanopia (blue-blind)
#E05E87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d852cb;
/* rgb */ color: rgb(216, 82, 203);
/* oklch */ color: oklch(65.8% 0.216 331.7);
Tailwind
colors: {
  custom: {
    50: '#e78bdb',
    500: '#d852cb',
    950: '#000000',
  },
}
SCSS
$custom: #d852cb;
$custom-light: #e78bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d852cb",
  "rgb": {
    "r": 216,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 305.821,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.21553,
    "h": 331.7
  },
  "luminance": 0.24945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D852CB

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

Preview Lab → · Contrast checker → · Palette generator →

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