#CC5DFC#CC5DFC

#CC5DFC is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.238 H 314.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CC5DFC
RGBrgb(204, 93, 252)
HSLhsl(282, 96%, 68%)
HSVhsv(282, 63%, 99%)
CMYKcmyk(19%, 63.1%, 0%, 1.2%)
CIE-LABlab(59.61, 67.73, -60.73)
CIE-LCHlch(59.61, 90.97, 318.12°)
OKLaboklab(68.12% 0.1654 -0.1707)
OKLCHoklch(68.12% 0.238 314.1)
XYZxyz(46.3839, 27.6958, 94.9790)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DFC #8DFC5D
analogous
#7D5DFC #CC5DFC #FC5DDC
triadic
#CC5DFC #FCCC5D #5DFCCC
tetradic
#CC5DFC #FC7D5D #8DFC5D #5DDCFC
square
#CC5DFC #FC7D5D #8DFC5D #5DDCFC
split-complementary
#CC5DFC #DCFC5D #5DFC7D
monochromatic
#9A04DB #B921FB #CC5DFC #DF99FD #F2D5FE

Accessibility & contrast

On white

3.21
#CC5DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CC5DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DFC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DFC#FFFFFF#000000##000000
##CC5DFC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1589FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#C87BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5dfc;
/* rgb */ color: rgb(204, 93, 252);
/* oklch */ color: oklch(68.1% 0.238 314.1);
Tailwind
colors: {
  custom: {
    50: '#df91fe',
    500: '#cc5dfc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dfc;
$custom-light: #df91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dfc",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 281.887,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68116,
    "c": 0.23765,
    "h": 314.1
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

primary
#CC5DFC
secondary
#D1F3C2
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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