#DF52E7#DF52E7

#DF52E7 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.1% C 0.241 H 325.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#DF52E7
RGBrgb(223, 82, 231)
HSLhsl(297, 76%, 61%)
HSVhsv(297, 65%, 91%)
CMYKcmyk(3.5%, 64.5%, 0%, 9.4%)
CIE-LABlab(59.43, 72.69, -49.19)
CIE-LCHlch(59.43, 87.77, 325.91°)
OKLaboklab(68.15% 0.1992 -0.1364)
OKLCHoklch(68.15% 0.241 325.6)
XYZxyz(47.8715, 27.4951, 78.3714)
Luminance0.2749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52E7 #5AE752
analogous
#9552E7 #DF52E7 #E752A4
triadic
#DF52E7 #E7DF52 #52E7DF
tetradic
#DF52E7 #E79552 #5AE752 #52A4E7
square
#DF52E7 #E79552 #5AE752 #52A4E7
split-complementary
#DF52E7 #A4E752 #52E795
monochromatic
#A017A7 #D31FDD #DF52E7 #E988EE #F3BDF6

Accessibility & contrast

On white

3.23
#DF52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#DF52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52E7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52E7#FFFFFF#000000##000000
##DF52E71.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#7095E3
Tritanopia (blue-blind)
#E46896
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #df52e7;
/* rgb */ color: rgb(223, 82, 231);
/* oklch */ color: oklch(68.1% 0.241 325.6);
Tailwind
colors: {
  custom: {
    50: '#ed8cef',
    500: '#df52e7',
    950: '#000000',
  },
}
SCSS
$custom: #df52e7;
$custom-light: #ed8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#df52e7",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 296.779,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68146,
    "c": 0.2414,
    "h": 325.6
  },
  "luminance": 0.27492
}

Semantic roles & 50–950 ramp

primary
#DF52E7
secondary
#B2E6AF
accent
#D80E19
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DF52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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