#CC5AC2#CC5AC2

#CC5AC2 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.6% C 0.190 H 331.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CC5AC2
RGBrgb(204, 90, 194)
HSLhsl(305, 53%, 58%)
HSVhsv(305, 56%, 80%)
CMYKcmyk(0%, 55.9%, 4.9%, 20%)
CIE-LABlab(56.14, 58.37, -33.60)
CIE-LCHlch(56.14, 67.35, 330.07°)
OKLaboklab(64.62% 0.1659 -0.0919)
OKLCHoklch(64.62% 0.19 331)
XYZxyz(38.2954, 24.0473, 53.6530)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AC2 #5ACC64
analogous
#9D5ACC #CC5AC2 #CC5A89
triadic
#CC5AC2 #C2CC5A #5AC2CC
tetradic
#CC5AC2 #CC9D5A #5ACC64 #5A89CC
square
#CC5AC2 #CC9D5A #5ACC64 #5A89CC
split-complementary
#CC5AC2 #89CC5A #5ACC9D
monochromatic
#83297B #B237A7 #CC5AC2 #DA89D3 #E9B7E5

Accessibility & contrast

On white

3.62
#CC5AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CC5AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AC2#FFFFFF#000000##000000
##CC5AC21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#D36486
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5ac2;
/* rgb */ color: rgb(204, 90, 194);
/* oklch */ color: oklch(64.6% 0.190 331.0);
Tailwind
colors: {
  custom: {
    50: '#de8ed5',
    500: '#cc5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ac2;
$custom-light: #de8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ac2",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 305.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64618,
    "c": 0.18966,
    "h": 331
  },
  "luminance": 0.24045
}

Semantic roles & 50–950 ramp

primary
#CC5AC2
secondary
#AAD8AE
accent
#DC584C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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