#CC5CFD#CC5CFD

#CC5CFD is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.240 H 313.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CC5CFD
RGBrgb(204, 92, 253)
HSLhsl(282, 98%, 68%)
HSVhsv(282, 64%, 99%)
CMYKcmyk(19.4%, 63.6%, 0%, 0.8%)
CIE-LABlab(59.51, 68.37, -61.44)
CIE-LCHlch(59.51, 91.92, 318.06°)
OKLaboklab(68.06% 0.1664 -0.1728)
OKLCHoklch(68.06% 0.24 313.9)
XYZxyz(46.4556, 27.5849, 95.7867)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CFD #8DFD5C
analogous
#7B5CFD #CC5CFD #FD5CDE
triadic
#CC5CFD #FDCC5C #5CFDCC
tetradic
#CC5CFD #FD7B5C #8DFD5C #5CDEFD
square
#CC5CFD #FD7B5C #8DFD5C #5CDEFD
split-complementary
#CC5CFD #DEFD5C #5CFD7B
monochromatic
#9A03DC #B920FC #CC5CFD #DF98FE #F2D5FE

Accessibility & contrast

On white

3.22
#CC5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CC5CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CFD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CFD#FFFFFF#000000##000000
##CC5CFD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B89FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#C77BA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5cfd;
/* rgb */ color: rgb(204, 92, 253);
/* oklch */ color: oklch(68.1% 0.240 313.9);
Tailwind
colors: {
  custom: {
    50: '#df91ff',
    500: '#cc5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cfd;
$custom-light: #df91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cfd",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 281.739,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.23989,
    "h": 313.9
  },
  "luminance": 0.27584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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