#D052CE#D052CE

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

Color values

HEX#D052CE
RGBrgb(208, 82, 206)
HSLhsl(301, 57%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 60.6%, 1%, 18.4%)
CIE-LABlab(55.99, 64.92, -40.64)
CIE-LCHlch(55.99, 76.59, 327.95°)
OKLaboklab(64.81% 0.1816 -0.112)
OKLCHoklch(64.81% 0.213 328.3)
XYZxyz(40.1698, 23.9034, 60.8786)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052CE #52D054
analogous
#9352D0 #D052CE #D0528F
triadic
#D052CE #CED052 #52CED0
tetradic
#D052CE #D09352 #52D054 #528FD0
square
#D052CE #D09352 #52D054 #528FD0
split-complementary
#D052CE #8FD052 #52D093
monochromatic
#842482 #B431B2 #D052CE #DD82DC #EAB2E9

Accessibility & contrast

On white

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

On black

5.78
#D052CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052CE#FFFFFF#000000##000000
##D052CE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#D66189
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d052ce;
/* rgb */ color: rgb(208, 82, 206);
/* oklch */ color: oklch(64.8% 0.213 328.3);
Tailwind
colors: {
  custom: {
    50: '#e28add',
    500: '#d052ce',
    950: '#000000',
  },
}
SCSS
$custom: #d052ce;
$custom-light: #e28add;
$custom-dark: #000000;
JSON
{
  "hex": "#d052ce",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 300.952,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64811,
    "c": 0.21337,
    "h": 328.3
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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