#CC5ACC#CC5ACC

#CC5ACC is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.1% C 0.198 H 327.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CC5ACC
RGBrgb(204, 90, 204)
HSLhsl(300, 53%, 58%)
HSVhsv(300, 56%, 80%)
CMYKcmyk(0%, 55.9%, 0%, 20%)
CIE-LABlab(56.60, 60.07, -38.59)
CIE-LCHlch(56.60, 71.40, 327.28°)
OKLaboklab(65.11% 0.1672 -0.1063)
OKLCHoklch(65.11% 0.198 327.6)
XYZxyz(39.4565, 24.5117, 59.7680)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ACC #5ACC5A
analogous
#935ACC #CC5ACC #CC5A93
triadic
#CC5ACC #CCCC5A #5ACCCC
tetradic
#CC5ACC #CC935A #5ACC5A #5A93CC
square
#CC5ACC #CC935A #5ACC5A #5A93CC
split-complementary
#CC5ACC #93CC5A #5ACC93
monochromatic
#832983 #B237B2 #CC5ACC #DA89DA #E9B7E9

Accessibility & contrast

On white

3.56
#CC5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CC5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ACC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ACC#FFFFFF#000000##000000
##CC5ACC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#D2678B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5acc;
/* rgb */ color: rgb(204, 90, 204);
/* oklch */ color: oklch(65.1% 0.198 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8edc',
    500: '#cc5acc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5acc;
$custom-light: #de8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5acc",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.19808,
    "h": 327.6
  },
  "luminance": 0.24509
}

Semantic roles & 50–950 ramp

primary
#CC5ACC
secondary
#AAD8AA
accent
#DC4C4C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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