#CC5CC7#CC5CC7

#CC5CC7 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.191 H 329.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC7
RGBrgb(204, 92, 199)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 54.9%, 2.5%, 20%)
CIE-LABlab(56.70, 58.30, -35.58)
CIE-LCHlch(56.70, 68.30, 328.61°)
OKLaboklab(65.11% 0.164 -0.0976)
OKLCHoklch(65.11% 0.191 329.2)
XYZxyz(39.0374, 24.6176, 56.7173)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC7 #5CCC61
analogous
#995CCC #CC5CC7 #CC5C8F
triadic
#CC5CC7 #C7CC5C #5CC7CC
tetradic
#CC5CC7 #CC995C #5CCC61 #5C8FCC
square
#CC5CC7 #CC995C #5CCC61 #5C8FCC
split-complementary
#CC5CC7 #8FCC5C #5CCC99
monochromatic
#842980 #B338AD #CC5CC7 #DB8BD7 #E9B9E7

Accessibility & contrast

On white

3.55
#CC5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CC5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC7#FFFFFF#000000##000000
##CC5CC71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ECA
Deuteranopia (green-blind)
#778DC4
Tritanopia (blue-blind)
#D26789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc7;
/* rgb */ color: rgb(204, 92, 199);
/* oklch */ color: oklch(65.1% 0.191 329.2);
Tailwind
colors: {
  custom: {
    50: '#de90d8',
    500: '#cc5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc7;
$custom-light: #de90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc7",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 302.679,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.19082,
    "h": 329.2
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#CC5CC7
secondary
#ACD8AE
accent
#DC524C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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