#CC5CDD#CC5CDD

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

Color values

HEX#CC5CDD
RGBrgb(204, 92, 221)
HSLhsl(292, 65%, 61%)
HSVhsv(292, 58%, 87%)
CMYKcmyk(7.7%, 58.4%, 0%, 13.3%)
CIE-LABlab(57.76, 62.22, -46.38)
CIE-LCHlch(57.76, 77.60, 323.30°)
OKLaboklab(66.23% 0.1661 -0.1288)
OKLCHoklch(66.23% 0.21 322.2)
XYZxyz(41.7788, 25.7142, 71.1553)
Luminance0.2571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CDD #6DDD5C
analogous
#8C5CDD #CC5CDD #DD5CAE
triadic
#CC5CDD #DDCC5C #5CDDCC
tetradic
#CC5CDD #DD8C5C #6DDD5C #5CAEDD
square
#CC5CDD #DD8C5C #6DDD5C #5CAEDD
split-complementary
#CC5CDD #AEDD5C #5CDD8C
monochromatic
#8D219E #BB2BD0 #CC5CDD #DC8FE8 #ECC1F2

Accessibility & contrast

On white

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

On black

6.14
#CC5CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CDD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CDD#FFFFFF#000000##000000
##CC5CDD1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#CF6F94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5cdd;
/* rgb */ color: rgb(204, 92, 221);
/* oklch */ color: oklch(66.2% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#de90e8',
    500: '#cc5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cdd;
$custom-light: #de90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cdd",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 292.093,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66232,
    "c": 0.21019,
    "h": 322.2
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#CC5CDD
secondary
#B9E3B2
accent
#CD1830
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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