#D052EE#D052EE

#D052EE is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.6% C 0.241 H 319.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D052EE
RGBrgb(208, 82, 238)
HSLhsl(288, 82%, 63%)
HSVhsv(288, 66%, 93%)
CMYKcmyk(12.6%, 65.5%, 0%, 6.7%)
CIE-LABlab(57.67, 70.57, -56.02)
CIE-LCHlch(57.67, 90.11, 321.56°)
OKLaboklab(66.57% 0.1825 -0.1567)
OKLCHoklch(66.57% 0.241 319.3)
XYZxyz(44.4603, 25.6196, 83.4755)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D052EE #70EE52
analogous
#8252EE #D052EE #EE52BE
triadic
#D052EE #EED052 #52EED0
tetradic
#D052EE #EE8252 #70EE52 #52BEEE
square
#D052EE #EE8252 #70EE52 #52BEEE
split-complementary
#D052EE #BEEE52 #52EE82
monochromatic
#9512B4 #C11AE9 #D052EE #DF8AF3 #EEC1F9

Accessibility & contrast

On white

3.43
#D052EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D052EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D052EE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D052EE#FFFFFF#000000##000000
##D052EE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F3
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#D06E9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d052ee;
/* rgb */ color: rgb(208, 82, 238);
/* oklch */ color: oklch(66.6% 0.241 319.3);
Tailwind
colors: {
  custom: {
    50: '#e28bf4',
    500: '#d052ee',
    950: '#000000',
  },
}
SCSS
$custom: #d052ee;
$custom-light: #e28bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d052ee",
  "rgb": {
    "r": 208,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 288.462,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.24055,
    "h": 319.3
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#D052EE
secondary
#BDEAB2
accent
#DE0730
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D052EE

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

Preview Lab → · Contrast checker → · Palette generator →

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