#D052D4#D052D4

#D052D4 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.218 H 326.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D052D4
RGBrgb(208, 82, 212)
HSLhsl(298, 60%, 58%)
HSVhsv(298, 61%, 83%)
CMYKcmyk(1.9%, 61.3%, 0%, 16.9%)
CIE-LABlab(56.29, 65.94, -43.59)
CIE-LCHlch(56.29, 79.04, 326.53°)
OKLaboklab(65.12% 0.182 -0.1205)
OKLCHoklch(65.12% 0.218 326.5)
XYZxyz(40.9126, 24.2005, 64.7908)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052D4 #56D452
analogous
#8F52D4 #D052D4 #D45297
triadic
#D052D4 #D4D052 #52D4D0
tetradic
#D052D4 #D48F52 #56D452 #5297D4
square
#D052D4 #D48F52 #56D452 #5297D4
split-complementary
#D052D4 #97D452 #52D48F
monochromatic
#862289 #B62EBA #D052D4 #DD83E0 #EBB4EC

Accessibility & contrast

On white

3.60
#D052D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D052D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052D4#FFFFFF#000000##000000
##D052D41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD8
Deuteranopia (green-blind)
#6D8DD0
Tritanopia (blue-blind)
#D5648C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d052d4;
/* rgb */ color: rgb(208, 82, 212);
/* oklch */ color: oklch(65.1% 0.218 326.5);
Tailwind
colors: {
  custom: {
    50: '#e28be2',
    500: '#d052d4',
    950: '#000000',
  },
}
SCSS
$custom: #d052d4;
$custom-light: #e28be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d052d4",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 298.154,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.21831,
    "h": 326.5
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#D052D4
secondary
#A8DBA7
accent
#E34449
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052D4

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

Preview Lab → · Contrast checker → · Palette generator →

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