#CC5CFC#CC5CFC

#CC5CFC is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.239 H 314.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5CFC
RGBrgb(204, 92, 252)
HSLhsl(282, 96%, 67%)
HSVhsv(282, 63%, 99%)
CMYKcmyk(19%, 63.5%, 0%, 1.2%)
CIE-LABlab(59.45, 68.17, -60.98)
CIE-LCHlch(59.45, 91.47, 318.19°)
OKLaboklab(68% 0.1665 -0.1714)
OKLCHoklch(68% 0.239 314.2)
XYZxyz(46.2967, 27.5214, 94.9500)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CFC #8CFC5C
analogous
#7C5CFC #CC5CFC #FC5CDC
triadic
#CC5CFC #FCCC5C #5CFCCC
tetradic
#CC5CFC #FC7C5C #8CFC5C #5CDCFC
square
#CC5CFC #FC7C5C #8CFC5C #5CDCFC
split-complementary
#CC5CFC #DCFC5C #5CFC7C
monochromatic
#9A04DA #B920FB #CC5CFC #DF98FD #F2D4FE

Accessibility & contrast

On white

3.23
#CC5CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CC5CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CFC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CFC#FFFFFF#000000##000000
##CC5CFC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1089FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#C87AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5cfc;
/* rgb */ color: rgb(204, 92, 252);
/* oklch */ color: oklch(68.0% 0.239 314.2);
Tailwind
colors: {
  custom: {
    50: '#df91fe',
    500: '#cc5cfc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cfc;
$custom-light: #df91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cfc",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 282,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.23895,
    "h": 314.2
  },
  "luminance": 0.2752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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