#DC5CD8#DC5CD8

#DC5CD8 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.0% C 0.214 H 328.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#DC5CD8
RGBrgb(220, 92, 216)
HSLhsl(302, 65%, 61%)
HSVhsv(302, 58%, 86%)
CMYKcmyk(0%, 58.2%, 1.8%, 13.7%)
CIE-LABlab(59.74, 65.37, -40.30)
CIE-LCHlch(59.74, 76.79, 328.34°)
OKLaboklab(68.04% 0.1835 -0.1109)
OKLCHoklch(68.04% 0.214 328.9)
XYZxyz(45.7365, 27.8308, 67.9153)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5CD8 #5CDC60
analogous
#A05CDC #DC5CD8 #DC5C98
triadic
#DC5CD8 #D8DC5C #5CD8DC
tetradic
#DC5CD8 #DCA05C #5CDC60 #5C98DC
square
#DC5CD8 #DCA05C #5CDC60 #5C98DC
split-complementary
#DC5CD8 #98DC5C #5CDCA0
monochromatic
#9C2298 #CE2CC9 #DC5CD8 #E78EE4 #F2C1F0

Accessibility & contrast

On white

3.20
#DC5CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#DC5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5CD8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5CD8#FFFFFF#000000##000000
##DC5CD81.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#7B96D4
Tritanopia (blue-blind)
#E36A92
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #dc5cd8;
/* rgb */ color: rgb(220, 92, 216);
/* oklch */ color: oklch(68.0% 0.214 328.9);
Tailwind
colors: {
  custom: {
    50: '#ea91e4',
    500: '#dc5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5cd8;
$custom-light: #ea91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5cd8",
  "rgb": {
    "r": 220,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 301.875,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.21437,
    "h": 328.9
  },
  "luminance": 0.27828
}

Semantic roles & 50–950 ramp

primary
#DC5CD8
secondary
#B2E2B3
accent
#CC1F19
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #DC5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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