#CC5CC9#CC5CC9

#CC5CC9 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.2% C 0.193 H 328.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC9
RGBrgb(204, 92, 201)
HSLhsl(302, 52%, 58%)
HSVhsv(302, 55%, 80%)
CMYKcmyk(0%, 54.9%, 1.5%, 20%)
CIE-LABlab(56.79, 58.64, -36.57)
CIE-LCHlch(56.79, 69.11, 328.05°)
OKLaboklab(65.21% 0.1642 -0.1005)
OKLCHoklch(65.21% 0.193 328.5)
XYZxyz(39.2711, 24.7111, 57.9483)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC9 #5CCC5F
analogous
#975CCC #CC5CC9 #CC5C91
triadic
#CC5CC9 #C9CC5C #5CC9CC
tetradic
#CC5CC9 #CC975C #5CCC5F #5C91CC
square
#CC5CC9 #CC975C #5CCC5F #5C91CC
split-complementary
#CC5CC9 #91CC5C #5CCC97
monochromatic
#842982 #B338B0 #CC5CC9 #DB8BD8 #E9B9E8

Accessibility & contrast

On white

3.53
#CC5CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CC5CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC9#FFFFFF#000000##000000
##CC5CC91.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCC
Deuteranopia (green-blind)
#768EC6
Tritanopia (blue-blind)
#D2688A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc9;
/* rgb */ color: rgb(204, 92, 201);
/* oklch */ color: oklch(65.2% 0.193 328.5);
Tailwind
colors: {
  custom: {
    50: '#de90da',
    500: '#cc5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc9;
$custom-light: #de90da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc9",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 301.607,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65205,
    "c": 0.19253,
    "h": 328.5
  },
  "luminance": 0.24709
}

Semantic roles & 50–950 ramp

primary
#CC5CC9
secondary
#ACD8AD
accent
#DC504C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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