#D052E2#D052E2

#D052E2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.230 H 322.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D052E2
RGBrgb(208, 82, 226)
HSLhsl(293, 71%, 60%)
HSVhsv(293, 64%, 89%)
CMYKcmyk(8%, 63.7%, 0%, 11.4%)
CIE-LABlab(57.01, 68.39, -50.35)
CIE-LCHlch(57.01, 84.92, 323.64°)
OKLaboklab(65.89% 0.1825 -0.1402)
OKLCHoklch(65.89% 0.23 322.5)
XYZxyz(42.7558, 24.9378, 74.4982)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052E2 #64E252
analogous
#8852E2 #D052E2 #E252AC
triadic
#D052E2 #E2D052 #52E2D0
tetradic
#D052E2 #E28852 #64E252 #52ACE2
square
#D052E2 #E28852 #64E252 #52ACE2
split-complementary
#D052E2 #ACE252 #52E288
monochromatic
#8E1B9F #BD23D3 #D052E2 #DE86EB #ECBBF4

Accessibility & contrast

On white

3.51
#D052E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#D052E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052E2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052E2#FFFFFF#000000##000000
##D052E21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#658EDE
Tritanopia (blue-blind)
#D36993
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d052e2;
/* rgb */ color: rgb(208, 82, 226);
/* oklch */ color: oklch(65.9% 0.230 322.5);
Tailwind
colors: {
  custom: {
    50: '#e28bec',
    500: '#d052e2',
    950: '#000000',
  },
}
SCSS
$custom: #d052e2;
$custom-light: #e28bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d052e2",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 292.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65885,
    "c": 0.23015,
    "h": 322.5
  },
  "luminance": 0.24935
}

Semantic roles & 50–950 ramp

primary
#D052E2
secondary
#B3E3AC
accent
#D3122A
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D052E2

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

Preview Lab → · Contrast checker → · Palette generator →

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