#D052CC#D052CC

#D052CC is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.212 H 329.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D052CC
RGBrgb(208, 82, 204)
HSLhsl(302, 57%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 60.6%, 1.9%, 18.4%)
CIE-LABlab(55.89, 64.58, -39.66)
CIE-LCHlch(55.89, 75.79, 328.45°)
OKLaboklab(64.71% 0.1814 -0.1092)
OKLCHoklch(64.71% 0.212 329)
XYZxyz(39.9284, 23.8068, 59.6072)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CC #52D056
analogous
#9552D0 #D052CC #D0528D
triadic
#D052CC #CCD052 #52CCD0
tetradic
#D052CC #D09552 #52D056 #528DD0
square
#D052CC #D09552 #52D056 #528DD0
split-complementary
#D052CC #8DD052 #52D095
monochromatic
#842481 #B431B0 #D052CC #DD82DA #EAB2E8

Accessibility & contrast

On white

3.65
#D052CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D052CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CC#FFFFFF#000000##000000
##D052CC1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#D76088
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052cc;
/* rgb */ color: rgb(208, 82, 204);
/* oklch */ color: oklch(64.7% 0.212 329.0);
Tailwind
colors: {
  custom: {
    50: '#e18adc',
    500: '#d052cc',
    950: '#000000',
  },
}
SCSS
$custom: #d052cc;
$custom-light: #e18adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d052cc",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 301.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.21174,
    "h": 329
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#D052CC
secondary
#A5D9A7
accent
#E14C47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052CC

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

Preview Lab → · Contrast checker → · Palette generator →

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