#DF52CA#DF52CA

#DF52CA is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.219 H 334.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#DF52CA
RGBrgb(223, 82, 202)
HSLhsl(309, 69%, 60%)
HSVhsv(309, 63%, 87%)
CMYKcmyk(0%, 63.2%, 9.4%, 12.5%)
CIE-LABlab(58.03, 68.03, -35.01)
CIE-LCHlch(58.03, 76.51, 332.77°)
OKLaboklab(66.67% 0.197 -0.0955)
OKLCHoklch(66.67% 0.219 334.1)
XYZxyz(44.1097, 25.9903, 58.5591)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52CA #52DF67
analogous
#AD52DF #DF52CA #DF5284
triadic
#DF52CA #CADF52 #52CADF
tetradic
#DF52CA #DFAD52 #52DF67 #5284DF
square
#DF52CA #DFAD52 #52DF67 #5284DF
split-complementary
#DF52CA #84DF52 #52DFAD
monochromatic
#9A1D87 #CE26B5 #DF52CA #E986DA #F2B9EA

Accessibility & contrast

On white

3.39
#DF52CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#DF52CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52CA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52CA#FFFFFF#000000##000000
##DF52CA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECE
Deuteranopia (green-blind)
#7E93C6
Tritanopia (blue-blind)
#E95C87
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df52ca;
/* rgb */ color: rgb(223, 82, 202);
/* oklch */ color: oklch(66.7% 0.219 334.1);
Tailwind
colors: {
  custom: {
    50: '#ec8cda',
    500: '#df52ca',
    950: '#000000',
  },
}
SCSS
$custom: #df52ca;
$custom-light: #ec8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#df52ca",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 308.936,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.21894,
    "h": 334.1
  },
  "luminance": 0.25987
}

Semantic roles & 50–950 ramp

primary
#DF52CA
secondary
#ABE2B3
accent
#EC563C
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DF52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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