#CC5CC4#CC5CC4

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

Color values

HEX#CC5CC4
RGBrgb(204, 92, 196)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 54.9%, 3.9%, 20%)
CIE-LABlab(56.56, 57.79, -34.07)
CIE-LCHlch(56.56, 67.08, 329.47°)
OKLaboklab(64.96% 0.1636 -0.0933)
OKLCHoklch(64.96% 0.188 330.3)
XYZxyz(38.6925, 24.4797, 54.9009)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC4 #5CCC64
analogous
#9C5CCC #CC5CC4 #CC5C8C
triadic
#CC5CC4 #C4CC5C #5CC4CC
tetradic
#CC5CC4 #CC9C5C #5CCC64 #5C8CCC
square
#CC5CC4 #CC9C5C #5CCC64 #5C8CCC
split-complementary
#CC5CC4 #8CCC5C #5CCC9C
monochromatic
#84297E #B338AA #CC5CC4 #DB8BD5 #E9B9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5CC4#FFFFFF#000000##000000
##CC5CC41.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)
#557EC7
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#D36688
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc4;
/* rgb */ color: rgb(204, 92, 196);
/* oklch */ color: oklch(65.0% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#de8fd6',
    500: '#cc5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc4;
$custom-light: #de8fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc4",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 304.286,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.1883,
    "h": 330.3
  },
  "luminance": 0.24477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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