#DC5FDC#DC5FDC

#DC5FDC is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.6% C 0.213 H 327.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#DC5FDC
RGBrgb(220, 95, 220)
HSLhsl(300, 64%, 62%)
HSVhsv(300, 57%, 86%)
CMYKcmyk(0%, 56.8%, 0%, 13.7%)
CIE-LABlab(60.40, 64.74, -41.51)
CIE-LCHlch(60.40, 76.90, 327.33°)
OKLaboklab(68.59% 0.1802 -0.1144)
OKLCHoklch(68.59% 0.213 327.6)
XYZxyz(46.5250, 28.5703, 70.7603)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FDC #5FDC5F
analogous
#9E5FDC #DC5FDC #DC5F9E
triadic
#DC5FDC #DCDC5F #5FDCDC
tetradic
#DC5FDC #DC9E5F #5FDC5F #5F9EDC
square
#DC5FDC #DC9E5F #5FDC5F #5F9EDC
split-complementary
#DC5FDC #9EDC5F #5FDC9E
monochromatic
#9E239E #D02ED0 #DC5FDC #E791E7 #F2C3F2

Accessibility & contrast

On white

3.13
#DC5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#DC5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FDC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FDC#FFFFFF#000000##000000
##DC5FDC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#E26E95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #dc5fdc;
/* rgb */ color: rgb(220, 95, 220);
/* oklch */ color: oklch(68.6% 0.213 327.6);
Tailwind
colors: {
  custom: {
    50: '#ea93e7',
    500: '#dc5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fdc;
$custom-light: #ea93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fdc",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68589,
    "c": 0.21342,
    "h": 327.6
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#DC5FDC
secondary
#B4E3B4
accent
#CC1A1A
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #DC5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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