#CC5ADC#CC5ADC

#CC5ADC is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.9% C 0.212 H 322.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CC5ADC
RGBrgb(204, 90, 220)
HSLhsl(293, 65%, 61%)
HSVhsv(293, 59%, 86%)
CMYKcmyk(7.3%, 59.1%, 0%, 13.7%)
CIE-LABlab(57.38, 62.93, -46.42)
CIE-LCHlch(57.38, 78.20, 323.59°)
OKLaboklab(65.94% 0.1685 -0.1289)
OKLCHoklch(65.94% 0.212 322.6)
XYZxyz(41.4750, 25.3191, 70.3987)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ADC #6ADC5A
analogous
#8B5ADC #CC5ADC #DC5AAB
triadic
#CC5ADC #DCCC5A #5ADCCC
tetradic
#CC5ADC #DC8B5A #6ADC5A #5AABDC
square
#CC5ADC #DC8B5A #6ADC5A #5AABDC
split-complementary
#CC5ADC #ABDC5A #5ADC8B
monochromatic
#8C219B #B92CCD #CC5ADC #DC8CE7 #EBBFF1

Accessibility & contrast

On white

3.46
#CC5ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CC5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ADC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ADC#FFFFFF#000000##000000
##CC5ADC1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#6B8ED9
Tritanopia (blue-blind)
#CF6D93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5adc;
/* rgb */ color: rgb(204, 90, 220);
/* oklch */ color: oklch(65.9% 0.212 322.6);
Tailwind
colors: {
  custom: {
    50: '#df8fe7',
    500: '#cc5adc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5adc;
$custom-light: #df8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5adc",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 292.615,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.21213,
    "h": 322.6
  },
  "luminance": 0.25317
}

Semantic roles & 50–950 ramp

primary
#CC5ADC
secondary
#B6E2B0
accent
#CD192F
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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