#CC5CDC#CC5CDC

#CC5CDC is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.2% C 0.209 H 322.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CC5CDC
RGBrgb(204, 92, 220)
HSLhsl(293, 65%, 61%)
HSVhsv(293, 58%, 86%)
CMYKcmyk(7.3%, 58.2%, 0%, 13.7%)
CIE-LABlab(57.71, 62.03, -45.89)
CIE-LCHlch(57.71, 77.16, 323.50°)
OKLaboklab(66.18% 0.166 -0.1274)
OKLCHoklch(66.18% 0.209 322.5)
XYZxyz(41.6459, 25.6611, 70.4557)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CDC #6CDC5C
analogous
#8C5CDC #CC5CDC #DC5CAC
triadic
#CC5CDC #DCCC5C #5CDCCC
tetradic
#CC5CDC #DC8C5C #6CDC5C #5CACDC
square
#CC5CDC #DC8C5C #6CDC5C #5CACDC
split-complementary
#CC5CDC #ACDC5C #5CDC8C
monochromatic
#8D229C #BA2CCE #CC5CDC #DC8EE7 #ECC1F2

Accessibility & contrast

On white

3.42
#CC5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CC5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CDC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CDC#FFFFFF#000000##000000
##CC5CDC1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#CF6F94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5cdc;
/* rgb */ color: rgb(204, 92, 220);
/* oklch */ color: oklch(66.2% 0.209 322.5);
Tailwind
colors: {
  custom: {
    50: '#de90e7',
    500: '#cc5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cdc;
$custom-light: #de90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cdc",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 292.5,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.20928,
    "h": 322.5
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#CC5CDC
secondary
#B8E2B2
accent
#CC192F
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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