#CC5FFC#CC5FFC

#CC5FFC is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.3% C 0.235 H 314.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CC5FFC
RGBrgb(204, 95, 252)
HSLhsl(282, 96%, 68%)
HSVhsv(282, 62%, 99%)
CMYKcmyk(19%, 62.3%, 0%, 1.2%)
CIE-LABlab(59.94, 66.85, -60.21)
CIE-LCHlch(59.94, 89.97, 317.99°)
OKLaboklab(68.35% 0.1631 -0.1692)
OKLCHoklch(68.35% 0.235 314)
XYZxyz(46.5618, 28.0515, 95.0383)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FFC #8FFC5F
analogous
#7D5FFC #CC5FFC #FC5FDD
triadic
#CC5FFC #FCCC5F #5FFCCC
tetradic
#CC5FFC #FC7D5F #8FFC5F #5FDDFC
square
#CC5FFC #FC7D5F #8FFC5F #5FDDFC
split-complementary
#CC5FFC #DDFC5F #5FFC7D
monochromatic
#9A04DC #B923FB #CC5FFC #DF9BFD #F2D7FE

Accessibility & contrast

On white

3.18
#CC5FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CC5FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FFC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FFC#FFFFFF#000000##000000
##CC5FFC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#C87CA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5ffc;
/* rgb */ color: rgb(204, 95, 252);
/* oklch */ color: oklch(68.3% 0.235 314.0);
Tailwind
colors: {
  custom: {
    50: '#df92fe',
    500: '#cc5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ffc;
$custom-light: #df92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ffc",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 281.656,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.235,
    "h": 314
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

primary
#CC5FFC
secondary
#D2F3C3
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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