#D052CD#D052CD

#D052CD is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.213 H 328.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D052CD
RGBrgb(208, 82, 205)
HSLhsl(301, 57%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 60.6%, 1.4%, 18.4%)
CIE-LABlab(55.94, 64.75, -40.15)
CIE-LCHlch(55.94, 76.19, 328.20°)
OKLaboklab(64.76% 0.1815 -0.1106)
OKLCHoklch(64.76% 0.213 328.6)
XYZxyz(40.0487, 23.8549, 60.2408)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CD #52D055
analogous
#9452D0 #D052CD #D0528E
triadic
#D052CD #CDD052 #52CDD0
tetradic
#D052CD #D09452 #52D055 #528ED0
square
#D052CD #D09452 #52D055 #528ED0
split-complementary
#D052CD #8ED052 #52D094
monochromatic
#842482 #B431B1 #D052CD #DD82DB #EAB2E9

Accessibility & contrast

On white

3.64
#D052CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D052CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CD#FFFFFF#000000##000000
##D052CD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#D76188
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052cd;
/* rgb */ color: rgb(208, 82, 205);
/* oklch */ color: oklch(64.8% 0.213 328.6);
Tailwind
colors: {
  custom: {
    50: '#e18adc',
    500: '#d052cd',
    950: '#000000',
  },
}
SCSS
$custom: #d052cd;
$custom-light: #e18adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d052cd",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 301.429,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.21255,
    "h": 328.6
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#D052CD
secondary
#A5D9A6
accent
#E14B47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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