#D52EE2#D52EE2

#D52EE2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.6% C 0.270 H 324.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D52EE2
RGBrgb(213, 46, 226)
HSLhsl(296, 76%, 53%)
HSVhsv(296, 80%, 89%)
CMYKcmyk(5.8%, 79.6%, 0%, 11.4%)
CIE-LABlab(53.59, 81.30, -55.76)
CIE-LCHlch(53.59, 98.59, 325.56°)
OKLaboklab(63.59% 0.2205 -0.1556)
OKLCHoklch(63.59% 0.27 324.8)
XYZxyz(42.1440, 21.5939, 73.8851)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52EE2 #3BE22E
analogous
#7B2EE2 #D52EE2 #E22E95
triadic
#D52EE2 #E2D52E #2EE2D5
tetradic
#D52EE2 #E27B2E #3BE22E #2E95E2
square
#D52EE2 #E27B2E #3BE22E #2E95E2
split-complementary
#D52EE2 #95E22E #2EE27B
monochromatic
#7B1283 #AE1AB9 #D52EE2 #E064E9 #EB99F1

Accessibility & contrast

On white

3.95
#D52EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D52EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D52EE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52EE2#FFFFFF#000000##000000
##D52EE21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#D9538A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d52ee2;
/* rgb */ color: rgb(213, 46, 226);
/* oklch */ color: oklch(63.6% 0.270 324.8);
Tailwind
colors: {
  custom: {
    50: '#e77cec',
    500: '#d52ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d52ee2;
$custom-light: #e77cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d52ee2",
  "rgb": {
    "r": 213,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 295.667,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.26987,
    "h": 324.8
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#D52EE2
secondary
#95DD8F
accent
#F23643
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D52EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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