#DC5EC8#DC5EC8

#DC5EC8 is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.5% C 0.199 H 334.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#DC5EC8
RGBrgb(220, 94, 200)
HSLhsl(310, 64%, 62%)
HSVhsv(310, 57%, 86%)
CMYKcmyk(0%, 57.3%, 9.1%, 13.7%)
CIE-LABlab(59.34, 61.89, -31.87)
CIE-LCHlch(59.34, 69.61, 332.76°)
OKLaboklab(67.52% 0.1789 -0.0867)
OKLCHoklch(67.52% 0.199 334.1)
XYZxyz(43.9434, 27.3944, 57.6056)
Luminance0.2739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5EC8 #5EDC72
analogous
#B15EDC #DC5EC8 #DC5E89
triadic
#DC5EC8 #C8DC5E #5EC8DC
tetradic
#DC5EC8 #DCB15E #5EDC72 #5E89DC
square
#DC5EC8 #DCB15E #5EDC72 #5E89DC
split-complementary
#DC5EC8 #89DC5E #5EDCB1
monochromatic
#9D228A #D02DB6 #DC5EC8 #E790D9 #F2C3EA

Accessibility & contrast

On white

3.24
#DC5EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#DC5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5EC8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5EC8#FFFFFF#000000##000000
##DC5EC81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#8396C5
Tritanopia (blue-blind)
#E5668B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc5ec8;
/* rgb */ color: rgb(220, 94, 200);
/* oklch */ color: oklch(67.5% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#ea92d9',
    500: '#dc5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5ec8;
$custom-light: #ea92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5ec8",
  "rgb": {
    "r": 220,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 309.524,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67516,
    "c": 0.19877,
    "h": 334.1
  },
  "luminance": 0.27391
}

Semantic roles & 50–950 ramp

primary
#DC5EC8
secondary
#B3E2BB
accent
#CC3619
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #DC5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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