#DC52DC#DC52DC

#DC52DC is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.231 H 327.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#DC52DC
RGBrgb(220, 82, 220)
HSLhsl(300, 66%, 59%)
HSVhsv(300, 63%, 86%)
CMYKcmyk(0%, 62.7%, 0%, 13.7%)
CIE-LABlab(58.43, 70.16, -44.61)
CIE-LCHlch(58.43, 83.14, 327.55°)
OKLaboklab(67.16% 0.1955 -0.1232)
OKLCHoklch(67.16% 0.231 327.8)
XYZxyz(45.4501, 26.4206, 70.4021)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52DC #52DC52
analogous
#9752DC #DC52DC #DC5297
triadic
#DC52DC #DCDC52 #52DCDC
tetradic
#DC52DC #DC9752 #52DC52 #5297DC
square
#DC52DC #DC9752 #52DC52 #5297DC
split-complementary
#DC52DC #97DC52 #52DC97
monochromatic
#951E95 #C829C8 #DC52DC #E685E6 #F1B8F1

Accessibility & contrast

On white

3.34
#DC52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#DC52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52DC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52DC#FFFFFF#000000##000000
##DC52DC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#E26490
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #dc52dc;
/* rgb */ color: rgb(220, 82, 220);
/* oklch */ color: oklch(67.2% 0.231 327.8);
Tailwind
colors: {
  custom: {
    50: '#ea8ce7',
    500: '#dc52dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc52dc;
$custom-light: #ea8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52dc",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.23107,
    "h": 327.8
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#DC52DC
secondary
#AAE0AA
accent
#E93F3F
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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