#D052CF#D052CF

#D052CF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.214 H 328.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D052CF
RGBrgb(208, 82, 207)
HSLhsl(300, 57%, 57%)
HSVhsv(300, 61%, 82%)
CMYKcmyk(0%, 60.6%, 0.5%, 18.4%)
CIE-LABlab(56.04, 65.09, -41.14)
CIE-LCHlch(56.04, 77.00, 327.71°)
OKLaboklab(64.86% 0.1817 -0.1135)
OKLCHoklch(64.86% 0.214 328)
XYZxyz(40.2917, 23.9521, 61.5204)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CF #52D053
analogous
#9252D0 #D052CF #D05290
triadic
#D052CF #CFD052 #52CFD0
tetradic
#D052CF #D09252 #52D053 #5290D0
square
#D052CF #D09252 #52D053 #5290D0
split-complementary
#D052CF #90D052 #52D092
monochromatic
#842483 #B431B3 #D052CF #DD82DC #EAB2EA

Accessibility & contrast

On white

3.63
#D052CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D052CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CF#FFFFFF#000000##000000
##D052CF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#D66289
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052cf;
/* rgb */ color: rgb(208, 82, 207);
/* oklch */ color: oklch(64.9% 0.214 328.0);
Tailwind
colors: {
  custom: {
    50: '#e28ade',
    500: '#d052cf',
    950: '#000000',
  },
}
SCSS
$custom: #d052cf;
$custom-light: #e28ade;
$custom-dark: #000000;
JSON
{
  "hex": "#d052cf",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 300.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64863,
    "c": 0.21419,
    "h": 328
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D052CF

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

Preview Lab → · Contrast checker → · Palette generator →

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