#CC5ACD#CC5ACD

#CC5ACD is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.2% C 0.199 H 327.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CC5ACD
RGBrgb(204, 90, 205)
HSLhsl(299, 53%, 58%)
HSVhsv(299, 56%, 80%)
CMYKcmyk(0.5%, 56.1%, 0%, 19.6%)
CIE-LABlab(56.64, 60.25, -39.09)
CIE-LCHlch(56.64, 71.81, 327.03°)
OKLaboklab(65.16% 0.1673 -0.1077)
OKLCHoklch(65.16% 0.199 327.2)
XYZxyz(39.5768, 24.5599, 60.4017)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ACD #5BCD5A
analogous
#925ACD #CC5ACD #CD5A95
triadic
#CC5ACD #CDCC5A #5ACDCC
tetradic
#CC5ACD #CD925A #5BCD5A #5A95CD
square
#CC5ACD #CD925A #5BCD5A #5A95CD
split-complementary
#CC5ACD #95CD5A #5ACD92
monochromatic
#842884 #B236B3 #CC5ACD #DB89DB #E9B8E9

Accessibility & contrast

On white

3.55
#CC5ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CC5ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ACD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ACD#FFFFFF#000000##000000
##CC5ACD1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#D2688B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5acd;
/* rgb */ color: rgb(204, 90, 205);
/* oklch */ color: oklch(65.2% 0.199 327.2);
Tailwind
colors: {
  custom: {
    50: '#de8edc',
    500: '#cc5acd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5acd;
$custom-light: #de8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5acd",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 299.478,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65157,
    "c": 0.19893,
    "h": 327.2
  },
  "luminance": 0.24557
}

Semantic roles & 50–950 ramp

primary
#CC5ACD
secondary
#ABD8AA
accent
#DD4B4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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