#CC5CDF#CC5CDF

#CC5CDF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.3% C 0.212 H 321.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CC5CDF
RGBrgb(204, 92, 223)
HSLhsl(291, 67%, 62%)
HSVhsv(291, 59%, 87%)
CMYKcmyk(8.5%, 58.7%, 0%, 12.5%)
CIE-LABlab(57.87, 62.59, -47.34)
CIE-LCHlch(57.87, 78.47, 322.90°)
OKLaboklab(66.34% 0.1662 -0.1316)
OKLCHoklch(66.34% 0.212 321.6)
XYZxyz(42.0468, 25.8214, 72.5670)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CDF #6FDF5C
analogous
#8B5CDF #CC5CDF #DF5CB0
triadic
#CC5CDF #DFCC5C #5CDFCC
tetradic
#CC5CDF #DF8B5C #6FDF5C #5CB0DF
square
#CC5CDF #DF8B5C #6FDF5C #5CB0DF
split-complementary
#CC5CDF #B0DF5C #5CDF8B
monochromatic
#8E20A1 #BB2AD4 #CC5CDF #DC8FE9 #ECC2F3

Accessibility & contrast

On white

3.41
#CC5CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CC5CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CDF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CDF#FFFFFF#000000##000000
##CC5CDF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#6B8FDC
Tritanopia (blue-blind)
#CE7095
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5cdf;
/* rgb */ color: rgb(204, 92, 223);
/* oklch */ color: oklch(66.3% 0.212 321.6);
Tailwind
colors: {
  custom: {
    50: '#de90e9',
    500: '#cc5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cdf;
$custom-light: #de90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cdf",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 291.298,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6634,
    "c": 0.212,
    "h": 321.6
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

primary
#CC5CDF
secondary
#BAE4B3
accent
#CF1631
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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