#D52ED7#D52ED7

#D52ED7 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.9% C 0.262 H 327.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D52ED7
RGBrgb(213, 46, 215)
HSLhsl(299, 68%, 51%)
HSVhsv(299, 79%, 84%)
CMYKcmyk(0.9%, 78.6%, 0%, 15.7%)
CIE-LABlab(52.96, 79.57, -50.53)
CIE-LCHlch(52.96, 94.26, 327.59°)
OKLaboklab(62.94% 0.2212 -0.1403)
OKLCHoklch(62.94% 0.262 327.6)
XYZxyz(40.6827, 21.0094, 66.1893)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52ED7 #30D72E
analogous
#802ED7 #D52ED7 #D72E84
triadic
#D52ED7 #D7D52E #2ED7D5
tetradic
#D52ED7 #D7802E #30D72E #2E84D7
square
#D52ED7 #D7802E #30D72E #2E84D7
split-complementary
#D52ED7 #84D72E #2ED780
monochromatic
#731674 #A620A8 #D52ED7 #DF61E1 #EA95EB

Accessibility & contrast

On white

4.04
#D52ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D52ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D52ED7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52ED7#FFFFFF#000000##000000
##D52ED71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#5E86D3
Tritanopia (blue-blind)
#DB4D83
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d52ed7;
/* rgb */ color: rgb(213, 46, 215);
/* oklch */ color: oklch(62.9% 0.262 327.6);
Tailwind
colors: {
  custom: {
    50: '#e67be4',
    500: '#d52ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d52ed7;
$custom-light: #e67be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d52ed7",
  "rgb": {
    "r": 213,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 299.29,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.26197,
    "h": 327.6
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#D52ED7
secondary
#8CD68B
accent
#EB3D3F
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D52ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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