#CC5CBB#CC5CBB

#CC5CBB is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.5% C 0.181 H 333.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CC5CBB
RGBrgb(204, 92, 187)
HSLhsl(309, 52%, 58%)
HSVhsv(309, 55%, 80%)
CMYKcmyk(0%, 54.9%, 8.3%, 20%)
CIE-LABlab(56.17, 56.29, -29.53)
CIE-LCHlch(56.17, 63.56, 332.32°)
OKLaboklab(64.54% 0.1621 -0.0803)
OKLCHoklch(64.54% 0.181 333.6)
XYZxyz(37.6987, 24.0822, 49.6668)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CBB #5CCC6D
analogous
#A55CCC #CC5CBB #CC5C83
triadic
#CC5CBB #BBCC5C #5CBBCC
tetradic
#CC5CBB #CCA55C #5CCC6D #5C83CC
square
#CC5CBB #CCA55C #5CCC6D #5C83CC
split-complementary
#CC5CBB #83CC5C #5CCCA5
monochromatic
#842976 #B338A0 #CC5CBB #DB8BCE #E9B9E2

Accessibility & contrast

On white

3.61
#CC5CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CC5CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CBB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CBB#FFFFFF#000000##000000
##CC5CBB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#7C8DB8
Tritanopia (blue-blind)
#D46383
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5cbb;
/* rgb */ color: rgb(204, 92, 187);
/* oklch */ color: oklch(64.5% 0.181 333.6);
Tailwind
colors: {
  custom: {
    50: '#de8fcf',
    500: '#cc5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cbb;
$custom-light: #de8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cbb",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 309.107,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64543,
    "c": 0.18093,
    "h": 333.6
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

primary
#CC5CBB
secondary
#ACD8B2
accent
#DC624C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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