#CC5CC5#CC5CC5

#CC5CC5 is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.0% C 0.189 H 329.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC5
RGBrgb(204, 92, 197)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 54.9%, 3.4%, 20%)
CIE-LABlab(56.61, 57.96, -34.57)
CIE-LCHlch(56.61, 67.49, 329.18°)
OKLaboklab(65.01% 0.1637 -0.0947)
OKLCHoklch(65.01% 0.189 329.9)
XYZxyz(38.8067, 24.5254, 55.5024)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC5 #5CCC63
analogous
#9B5CCC #CC5CC5 #CC5C8D
triadic
#CC5CC5 #C5CC5C #5CC5CC
tetradic
#CC5CC5 #CC9B5C #5CCC63 #5C8DCC
square
#CC5CC5 #CC9B5C #5CCC63 #5C8DCC
split-complementary
#CC5CC5 #8DCC5C #5CCC9B
monochromatic
#84297F #B338AB #CC5CC5 #DB8BD6 #E9B9E6

Accessibility & contrast

On white

3.56
#CC5CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CC5CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC5#FFFFFF#000000##000000
##CC5CC51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#788DC2
Tritanopia (blue-blind)
#D36788
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc5;
/* rgb */ color: rgb(204, 92, 197);
/* oklch */ color: oklch(65.0% 0.189 329.9);
Tailwind
colors: {
  custom: {
    50: '#de8fd7',
    500: '#cc5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc5;
$custom-light: #de8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc5",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 303.75,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.18913,
    "h": 329.9
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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