#D052D5#D052D5

#D052D5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.219 H 326.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D052D5
RGBrgb(208, 82, 213)
HSLhsl(298, 61%, 58%)
HSVhsv(298, 62%, 84%)
CMYKcmyk(2.3%, 61.5%, 0%, 16.5%)
CIE-LABlab(56.34, 66.11, -44.07)
CIE-LCHlch(56.34, 79.45, 326.31°)
OKLaboklab(65.18% 0.1821 -0.122)
OKLCHoklch(65.18% 0.219 326.2)
XYZxyz(41.0392, 24.2511, 65.4572)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052D5 #57D552
analogous
#8E52D5 #D052D5 #D55298
triadic
#D052D5 #D5D052 #52D5D0
tetradic
#D052D5 #D58E52 #57D552 #5298D5
square
#D052D5 #D58E52 #57D552 #5298D5
split-complementary
#D052D5 #98D552 #52D58E
monochromatic
#87228B #B72EBC #D052D5 #DD83E1 #EBB4ED

Accessibility & contrast

On white

3.59
#D052D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D052D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052D5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052D5#FFFFFF#000000##000000
##D052D51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d052d5;
/* rgb */ color: rgb(208, 82, 213);
/* oklch */ color: oklch(65.2% 0.219 326.2);
Tailwind
colors: {
  custom: {
    50: '#e28be2',
    500: '#d052d5',
    950: '#000000',
  },
}
SCSS
$custom: #d052d5;
$custom-light: #e28be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d052d5",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 297.71,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65177,
    "c": 0.21914,
    "h": 326.2
  },
  "luminance": 0.24249
}

Semantic roles & 50–950 ramp

primary
#D052D5
secondary
#A9DCA7
accent
#E4444A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D052D5

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

Preview Lab → · Contrast checker → · Palette generator →

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