#DF52EB#DF52EB

#DF52EB is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.4% C 0.245 H 324.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#DF52EB
RGBrgb(223, 82, 235)
HSLhsl(295, 79%, 62%)
HSVhsv(295, 65%, 92%)
CMYKcmyk(5.1%, 65.1%, 0%, 7.8%)
CIE-LABlab(59.64, 73.37, -51.09)
CIE-LCHlch(59.64, 89.40, 325.15°)
OKLaboklab(68.36% 0.1992 -0.142)
OKLCHoklch(68.36% 0.245 324.5)
XYZxyz(48.4429, 27.7236, 81.3808)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52EB #5EEB52
analogous
#9352EB #DF52EB #EB52AB
triadic
#DF52EB #EBDF52 #52EBDF
tetradic
#DF52EB #EB9352 #5EEB52 #52ABEB
square
#DF52EB #EB9352 #5EEB52 #52ABEB
split-complementary
#DF52EB #ABEB52 #52EB93
monochromatic
#A214AE #D51BE5 #DF52EB #E989F1 #F3C0F8

Accessibility & contrast

On white

3.21
#DF52EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#DF52EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52EB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52EB#FFFFFF#000000##000000
##DF52EB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#6D96E7
Tritanopia (blue-blind)
#E36A98
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #df52eb;
/* rgb */ color: rgb(223, 82, 235);
/* oklch */ color: oklch(68.4% 0.245 324.5);
Tailwind
colors: {
  custom: {
    50: '#ed8df2',
    500: '#df52eb',
    950: '#000000',
  },
}
SCSS
$custom: #df52eb;
$custom-light: #ed8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#df52eb",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 295.294,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68364,
    "c": 0.24464,
    "h": 324.5
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#DF52EB
secondary
#B5E8B0
accent
#DC0A1A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DF52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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