#DC5FC8#DC5FC8

#DC5FC8 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.6% C 0.197 H 334.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#DC5FC8
RGBrgb(220, 95, 200)
HSLhsl(310, 64%, 62%)
HSVhsv(310, 57%, 86%)
CMYKcmyk(0%, 56.8%, 9.1%, 13.7%)
CIE-LABlab(59.50, 61.45, -31.61)
CIE-LCHlch(59.50, 69.10, 332.78°)
OKLaboklab(67.64% 0.1776 -0.086)
OKLCHoklch(67.64% 0.197 334.2)
XYZxyz(44.0329, 27.5734, 57.6354)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FC8 #5FDC73
analogous
#B25FDC #DC5FC8 #DC5F8A
triadic
#DC5FC8 #C8DC5F #5FC8DC
tetradic
#DC5FC8 #DCB25F #5FDC73 #5F8ADC
square
#DC5FC8 #DCB25F #5FDC73 #5F8ADC
split-complementary
#DC5FC8 #8ADC5F #5FDCB2
monochromatic
#9E238A #D02EB6 #DC5FC8 #E791D9 #F2C3EB

Accessibility & contrast

On white

3.22
#DC5FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#DC5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FC8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FC8#FFFFFF#000000##000000
##DC5FC81.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#8496C5
Tritanopia (blue-blind)
#E5678B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc5fc8;
/* rgb */ color: rgb(220, 95, 200);
/* oklch */ color: oklch(67.6% 0.197 334.2);
Tailwind
colors: {
  custom: {
    50: '#ea92d9',
    500: '#dc5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fc8;
$custom-light: #ea92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fc8",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 309.6,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.19729,
    "h": 334.2
  },
  "luminance": 0.2757
}

Semantic roles & 50–950 ramp

primary
#DC5FC8
secondary
#B4E3BC
accent
#CC361A
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #DC5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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