#D052CA#D052CA

#D052CA is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.210 H 329.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D052CA
RGBrgb(208, 82, 202)
HSLhsl(303, 57%, 57%)
HSVhsv(303, 61%, 82%)
CMYKcmyk(0%, 60.6%, 2.9%, 18.4%)
CIE-LABlab(55.80, 64.25, -38.66)
CIE-LCHlch(55.80, 74.99, 328.96°)
OKLaboklab(64.61% 0.1812 -0.1063)
OKLCHoklch(64.61% 0.21 329.6)
XYZxyz(39.6901, 23.7115, 58.3519)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CA #52D058
analogous
#9752D0 #D052CA #D0528B
triadic
#D052CA #CAD052 #52CAD0
tetradic
#D052CA #D09752 #52D058 #528BD0
square
#D052CA #D09752 #52D058 #528BD0
split-complementary
#D052CA #8BD052 #52D097
monochromatic
#84247F #B431AE #D052CA #DD82D9 #EAB2E7

Accessibility & contrast

On white

3.66
#D052CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D052CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CA#FFFFFF#000000##000000
##D052CA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#D76087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052ca;
/* rgb */ color: rgb(208, 82, 202);
/* oklch */ color: oklch(64.6% 0.210 329.6);
Tailwind
colors: {
  custom: {
    50: '#e18ada',
    500: '#d052ca',
    950: '#000000',
  },
}
SCSS
$custom: #d052ca;
$custom-light: #e18ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d052ca",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 302.857,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.21012,
    "h": 329.6
  },
  "luminance": 0.23709
}

Semantic roles & 50–950 ramp

primary
#D052CA
secondary
#A5D9A8
accent
#E14F47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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