#CC5CBE#CC5CBE

#CC5CBE is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.7% C 0.183 H 332.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CC5CBE
RGBrgb(204, 92, 190)
HSLhsl(308, 52%, 58%)
HSVhsv(308, 55%, 80%)
CMYKcmyk(0%, 54.9%, 6.9%, 20%)
CIE-LABlab(56.30, 56.78, -31.05)
CIE-LCHlch(56.30, 64.72, 331.33°)
OKLaboklab(64.68% 0.1626 -0.0847)
OKLCHoklch(64.68% 0.183 332.5)
XYZxyz(38.0232, 24.2120, 51.3759)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CBE #5CCC6A
analogous
#A25CCC #CC5CBE #CC5C86
triadic
#CC5CBE #BECC5C #5CBECC
tetradic
#CC5CBE #CCA25C #5CCC6A #5C86CC
square
#CC5CBE #CCA25C #5CCC6A #5C86CC
split-complementary
#CC5CBE #86CC5C #5CCCA2
monochromatic
#842979 #B338A3 #CC5CBE #DB8BD1 #E9B9E3

Accessibility & contrast

On white

3.59
#CC5CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CC5CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CBE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CBE#FFFFFF#000000##000000
##CC5CBE1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#D46485
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5cbe;
/* rgb */ color: rgb(204, 92, 190);
/* oklch */ color: oklch(64.7% 0.183 332.5);
Tailwind
colors: {
  custom: {
    50: '#de8fd2',
    500: '#cc5cbe',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cbe;
$custom-light: #de8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cbe",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 307.5,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.18335,
    "h": 332.5
  },
  "luminance": 0.24209
}

Semantic roles & 50–950 ramp

primary
#CC5CBE
secondary
#ACD8B1
accent
#DC5E4C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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