#CC5FFB#CC5FFB

#CC5FFB is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.234 H 314.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#CC5FFB
RGBrgb(204, 95, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 62%, 98%)
CMYKcmyk(18.7%, 62.2%, 0%, 1.6%)
CIE-LABlab(59.88, 66.65, -59.75)
CIE-LCHlch(59.88, 89.51, 318.12°)
OKLaboklab(68.29% 0.1631 -0.1678)
OKLCHoklch(68.29% 0.234 314.2)
XYZxyz(46.4037, 27.9883, 94.2059)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FFB #8EFB5F
analogous
#7E5FFB #CC5FFB #FB5FDC
triadic
#CC5FFB #FBCC5F #5FFBCC
tetradic
#CC5FFB #FB7E5F #8EFB5F #5FDCFB
square
#CC5FFB #FB7E5F #8EFB5F #5FDCFB
split-complementary
#CC5FFB #DCFB5F #5FFB7E
monochromatic
#9A05DA #B923FA #CC5FFB #DF9BFC #F2D6FE

Accessibility & contrast

On white

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

On black

6.60
#CC5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FFB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FFB#FFFFFF#000000##000000
##CC5FFB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#C87CA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5ffb;
/* rgb */ color: rgb(204, 95, 251);
/* oklch */ color: oklch(68.3% 0.234 314.2);
Tailwind
colors: {
  custom: {
    50: '#df92fd',
    500: '#cc5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ffb;
$custom-light: #df92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ffb",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 281.923,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.23405,
    "h": 314.2
  },
  "luminance": 0.27987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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