#DC5FFC#DC5FFC

#DC5FFC is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.3% C 0.241 H 318.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#DC5FFC
RGBrgb(220, 95, 252)
HSLhsl(288, 96%, 68%)
HSVhsv(288, 62%, 99%)
CMYKcmyk(12.7%, 62.3%, 0%, 1.2%)
CIE-LABlab(62.02, 70.46, -56.76)
CIE-LCHlch(62.02, 90.47, 321.15°)
OKLaboklab(70.3% 0.1818 -0.1586)
OKLCHoklch(70.3% 0.241 318.9)
XYZxyz(51.1758, 30.4306, 95.2546)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FFC #7FFC5F
analogous
#8E5FFC #DC5FFC #FC5FCD
triadic
#DC5FFC #FCDC5F #5FFCDC
tetradic
#DC5FFC #FC8E5F #7FFC5F #5FCDFC
square
#DC5FFC #FC8E5F #7FFC5F #5FCDFC
split-complementary
#DC5FFC #CDFC5F #5FFC8E
monochromatic
#B004DC #CF23FB #DC5FFC #E99BFD #F6D7FE

Accessibility & contrast

On white

2.96
#DC5FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#DC5FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC5FFC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FFC#FFFFFF#000000##000000
##DC5FFC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#DC7AA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc5ffc;
/* rgb */ color: rgb(220, 95, 252);
/* oklch */ color: oklch(70.3% 0.241 318.9);
Tailwind
colors: {
  custom: {
    50: '#ea94fe',
    500: '#dc5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #dc5ffc;
$custom-light: #ea94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5ffc",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 287.771,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.24127,
    "h": 318.9
  },
  "luminance": 0.30428
}

Semantic roles & 50–950 ramp

primary
#DC5FFC
secondary
#CDF3C3
accent
#E6002F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DC5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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