#DC5DF8#DC5DF8

#DC5DF8 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.8% C 0.240 H 320.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#DC5DF8
RGBrgb(220, 93, 248)
HSLhsl(289, 92%, 67%)
HSVhsv(289, 63%, 97%)
CMYKcmyk(11.3%, 62.5%, 0%, 2.7%)
CIE-LABlab(61.50, 70.56, -55.38)
CIE-LCHlch(61.50, 89.70, 321.87°)
OKLaboklab(69.85% 0.184 -0.1546)
OKLCHoklch(69.85% 0.24 320)
XYZxyz(50.3707, 29.8240, 91.8921)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5DF8 #79F85D
analogous
#8F5DF8 #DC5DF8 #F85DC7
triadic
#DC5DF8 #F8DC5D #5DF8DC
tetradic
#DC5DF8 #F88F5D #79F85D #5DC7F8
square
#DC5DF8 #F88F5D #79F85D #5DC7F8
split-complementary
#DC5DF8 #C7F85D #5DF88F
monochromatic
#AD09D2 #CF22F5 #DC5DF8 #E998FB #F5D2FD

Accessibility & contrast

On white

3.02
#DC5DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#DC5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5DF8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5DF8#FFFFFF#000000##000000
##DC5DF81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFD
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#DD77A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #dc5df8;
/* rgb */ color: rgb(220, 93, 248);
/* oklch */ color: oklch(69.8% 0.240 320.0);
Tailwind
colors: {
  custom: {
    50: '#ea93fb',
    500: '#dc5df8',
    950: '#000000',
  },
}
SCSS
$custom: #dc5df8;
$custom-light: #ea93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5df8",
  "rgb": {
    "r": 220,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 289.161,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.24033,
    "h": 320
  },
  "luminance": 0.29822
}

Semantic roles & 50–950 ramp

primary
#DC5DF8
secondary
#C9F1C0
accent
#E60029
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DC5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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