#CC5CBC#CC5CBC

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

Color values

HEX#CC5CBC
RGBrgb(204, 92, 188)
HSLhsl(309, 52%, 58%)
HSVhsv(309, 55%, 80%)
CMYKcmyk(0%, 54.9%, 7.8%, 20%)
CIE-LABlab(56.21, 56.45, -30.03)
CIE-LCHlch(56.21, 63.94, 331.99°)
OKLaboklab(64.59% 0.1623 -0.0818)
OKLCHoklch(64.59% 0.182 333.3)
XYZxyz(37.8061, 24.1251, 50.2326)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CBC #5CCC6C
analogous
#A45CCC #CC5CBC #CC5C84
triadic
#CC5CBC #BCCC5C #5CBCCC
tetradic
#CC5CBC #CCA45C #5CCC6C #5C84CC
square
#CC5CBC #CCA45C #5CCC6C #5C84CC
split-complementary
#CC5CBC #84CC5C #5CCCA4
monochromatic
#842977 #B338A1 #CC5CBC #DB8BCF #E9B9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5CBC#FFFFFF#000000##000000
##CC5CBC1.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)
#5A7CBF
Deuteranopia (green-blind)
#7B8DB9
Tritanopia (blue-blind)
#D46484
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5cbc;
/* rgb */ color: rgb(204, 92, 188);
/* oklch */ color: oklch(64.6% 0.182 333.3);
Tailwind
colors: {
  custom: {
    50: '#de8fd0',
    500: '#cc5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cbc;
$custom-light: #de8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cbc",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 308.571,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.18173,
    "h": 333.3
  },
  "luminance": 0.24123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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