#DC5FD8#DC5FD8

#DC5FD8 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.4% C 0.210 H 328.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#DC5FD8
RGBrgb(220, 95, 216)
HSLhsl(302, 64%, 62%)
HSVhsv(302, 57%, 86%)
CMYKcmyk(0%, 56.8%, 1.8%, 13.7%)
CIE-LABlab(60.21, 64.06, -39.55)
CIE-LCHlch(60.21, 75.29, 328.31°)
OKLaboklab(68.39% 0.1798 -0.1087)
OKLCHoklch(68.39% 0.21 328.8)
XYZxyz(46.0016, 28.3609, 68.0037)
Luminance0.2836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FD8 #5FDC63
analogous
#A25FDC #DC5FD8 #DC5F9A
triadic
#DC5FD8 #D8DC5F #5FD8DC
tetradic
#DC5FD8 #DCA25F #5FDC63 #5F9ADC
square
#DC5FD8 #DCA25F #5FDC63 #5F9ADC
split-complementary
#DC5FD8 #9ADC5F #5FDCA2
monochromatic
#9E239A #D02ECB #DC5FD8 #E791E4 #F2C3F0

Accessibility & contrast

On white

3.15
#DC5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#DC5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FD8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FD8#FFFFFF#000000##000000
##DC5FD81.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DC
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#E36D93
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #dc5fd8;
/* rgb */ color: rgb(220, 95, 216);
/* oklch */ color: oklch(68.4% 0.210 328.8);
Tailwind
colors: {
  custom: {
    50: '#ea93e4',
    500: '#dc5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fd8;
$custom-light: #ea93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fd8",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 301.92,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.21009,
    "h": 328.8
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#DC5FD8
secondary
#B4E3B6
accent
#CC1F1A
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E15
muted
#847E84

Preview Lab

Preview with #DC5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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