#D52FE8#D52FE8

#D52FE8 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 64.0% C 0.273 H 323.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D52FE8
RGBrgb(213, 47, 232)
HSLhsl(294, 80%, 55%)
HSVhsv(294, 80%, 91%)
CMYKcmyk(8.2%, 79.7%, 0%, 9%)
CIE-LABlab(54.04, 82.02, -58.44)
CIE-LCHlch(54.04, 100.71, 324.53°)
OKLaboklab(64.02% 0.2193 -0.1634)
OKLCHoklch(64.02% 0.273 323.3)
XYZxyz(43.0212, 22.0081, 78.3103)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52FE8 #42E82F
analogous
#792FE8 #D52FE8 #E82F9E
triadic
#D52FE8 #E8D52F #2FE8D5
tetradic
#D52FE8 #E8792F #42E82F #2F9EE8
square
#D52FE8 #E8792F #42E82F #2F9EE8
split-complementary
#D52FE8 #9EE82F #2FE879
monochromatic
#80108D #B216C4 #D52FE8 #E066EE #EB9DF4

Accessibility & contrast

On white

3.89
#D52FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D52FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D52FE8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52FE8#FFFFFF#000000##000000
##D52FE81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#D8568D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d52fe8;
/* rgb */ color: rgb(213, 47, 232);
/* oklch */ color: oklch(64.0% 0.273 323.3);
Tailwind
colors: {
  custom: {
    50: '#e77cf0',
    500: '#d52fe8',
    950: '#000000',
  },
}
SCSS
$custom: #d52fe8;
$custom-light: #e77cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#d52fe8",
  "rgb": {
    "r": 213,
    "g": 47,
    "b": 232
  },
  "hsl": {
    "h": 293.838,
    "s": 80.087,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.27347,
    "h": 323.3
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#D52FE8
secondary
#9AE092
accent
#F73146
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B17
muted
#857C85

Preview Lab

Preview with #D52FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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