#D052E1#D052E1

#D052E1 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.229 H 322.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D052E1
RGBrgb(208, 82, 225)
HSLhsl(293, 70%, 60%)
HSVhsv(293, 64%, 88%)
CMYKcmyk(7.6%, 63.6%, 0%, 11.8%)
CIE-LABlab(56.96, 68.21, -49.87)
CIE-LCHlch(56.96, 84.50, 323.83°)
OKLaboklab(65.83% 0.1825 -0.1388)
OKLCHoklch(65.83% 0.229 322.8)
XYZxyz(42.6190, 24.8830, 73.7776)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052E1 #63E152
analogous
#8852E1 #D052E1 #E152AB
triadic
#D052E1 #E1D052 #52E1D0
tetradic
#D052E1 #E18852 #63E152 #52ABE1
square
#D052E1 #E18852 #63E152 #52ABE1
split-complementary
#D052E1 #ABE152 #52E188
monochromatic
#8E1B9D #BD24D1 #D052E1 #DE86EA #ECBAF3

Accessibility & contrast

On white

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

On black

5.98
#D052E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052E1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052E1#FFFFFF#000000##000000
##D052E11.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#668EDD
Tritanopia (blue-blind)
#D36993
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d052e1;
/* rgb */ color: rgb(208, 82, 225);
/* oklch */ color: oklch(65.8% 0.229 322.8);
Tailwind
colors: {
  custom: {
    50: '#e28beb',
    500: '#d052e1',
    950: '#000000',
  },
}
SCSS
$custom: #d052e1;
$custom-light: #e28beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d052e1",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 292.867,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.2293,
    "h": 322.8
  },
  "luminance": 0.24881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D052E1

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

Preview Lab → · Contrast checker → · Palette generator →

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