#CC5CC3#CC5CC3

#CC5CC3 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.187 H 330.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC3
RGBrgb(204, 92, 195)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 54.9%, 4.4%, 20%)
CIE-LABlab(56.52, 57.62, -33.57)
CIE-LCHlch(56.52, 66.68, 329.77°)
OKLaboklab(64.92% 0.1634 -0.0919)
OKLCHoklch(64.92% 0.187 330.7)
XYZxyz(38.5791, 24.4343, 54.3035)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC3 #5CCC65
analogous
#9D5CCC #CC5CC3 #CC5C8B
triadic
#CC5CC3 #C3CC5C #5CC3CC
tetradic
#CC5CC3 #CC9D5C #5CCC65 #5C8BCC
square
#CC5CC3 #CC9D5C #5CCC65 #5C8BCC
split-complementary
#CC5CC3 #8BCC5C #5CCC9D
monochromatic
#84297D #B338A9 #CC5CC3 #DB8BD4 #E9B9E5

Accessibility & contrast

On white

3.57
#CC5CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CC5CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC3#FFFFFF#000000##000000
##CC5CC31.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC6
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#D36687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc3;
/* rgb */ color: rgb(204, 92, 195);
/* oklch */ color: oklch(64.9% 0.187 330.7);
Tailwind
colors: {
  custom: {
    50: '#de8fd5',
    500: '#cc5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc3;
$custom-light: #de8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc3",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 304.821,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64915,
    "c": 0.18746,
    "h": 330.7
  },
  "luminance": 0.24432
}

Semantic roles & 50–950 ramp

primary
#CC5CC3
secondary
#ACD8AF
accent
#DC584C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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