#DC52EF#DC52EF

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

Color values

HEX#DC52EF
RGBrgb(220, 82, 239)
HSLhsl(293, 83%, 63%)
HSVhsv(293, 66%, 94%)
CMYKcmyk(7.9%, 65.7%, 0%, 6.3%)
CIE-LABlab(59.42, 73.39, -53.70)
CIE-LCHlch(59.42, 90.94, 323.81°)
OKLaboklab(68.19% 0.196 -0.1496)
OKLCHoklch(68.19% 0.247 322.6)
XYZxyz(48.1109, 27.4849, 84.4156)
Luminance0.2748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52EF #65EF52
analogous
#8D52EF #DC52EF #EF52B3
triadic
#DC52EF #EFDC52 #52EFDC
tetradic
#DC52EF #EF8D52 #65EF52 #52B3EF
square
#DC52EF #EF8D52 #65EF52 #52B3EF
split-complementary
#DC52EF #B3EF52 #52EF8D
monochromatic
#A211B6 #D11AEA #DC52EF #E78AF4 #F3C2F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC52EF#FFFFFF#000000##000000
##DC52EF1.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)
#2885F4
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#DF6C9A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc52ef;
/* rgb */ color: rgb(220, 82, 239);
/* oklch */ color: oklch(68.2% 0.247 322.6);
Tailwind
colors: {
  custom: {
    50: '#eb8cf5',
    500: '#dc52ef',
    950: '#000000',
  },
}
SCSS
$custom: #dc52ef;
$custom-light: #eb8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52ef",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 292.739,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6819,
    "c": 0.24656,
    "h": 322.6
  },
  "luminance": 0.27482
}

Semantic roles & 50–950 ramp

primary
#DC52EF
secondary
#B9EBB2
accent
#DF0620
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#170D17
muted
#857E85

Preview Lab

Preview with #DC52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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