#CC5CBA#CC5CBA

#CC5CBA is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.180 H 334.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CC5CBA
RGBrgb(204, 92, 186)
HSLhsl(310, 52%, 58%)
HSVhsv(310, 55%, 80%)
CMYKcmyk(0%, 54.9%, 8.8%, 20%)
CIE-LABlab(56.13, 56.13, -29.02)
CIE-LCHlch(56.13, 63.18, 332.66°)
OKLaboklab(64.5% 0.1619 -0.0789)
OKLCHoklch(64.5% 0.18 334)
XYZxyz(37.5920, 24.0395, 49.1050)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CBA #5CCC6E
analogous
#A65CCC #CC5CBA #CC5C82
triadic
#CC5CBA #BACC5C #5CBACC
tetradic
#CC5CBA #CCA65C #5CCC6E #5C82CC
square
#CC5CBA #CCA65C #5CCC6E #5C82CC
split-complementary
#CC5CBA #82CC5C #5CCCA6
monochromatic
#842976 #B3389F #CC5CBA #DB8BCE #E9B9E1

Accessibility & contrast

On white

3.62
#CC5CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CC5CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CBA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CBA#FFFFFF#000000##000000
##CC5CBA1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#7C8DB7
Tritanopia (blue-blind)
#D56383
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5cba;
/* rgb */ color: rgb(204, 92, 186);
/* oklch */ color: oklch(64.5% 0.180 334.0);
Tailwind
colors: {
  custom: {
    50: '#de8fcf',
    500: '#cc5cba',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cba;
$custom-light: #de8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cba",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 309.643,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.18013,
    "h": 334
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#CC5CBA
secondary
#ACD8B3
accent
#DC634C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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