#CC5CC8#CC5CC8

#CC5CC8 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.2% C 0.192 H 328.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC8
RGBrgb(204, 92, 200)
HSLhsl(302, 52%, 58%)
HSVhsv(302, 55%, 80%)
CMYKcmyk(0%, 54.9%, 2%, 20%)
CIE-LABlab(56.75, 58.47, -36.07)
CIE-LCHlch(56.75, 68.70, 328.33°)
OKLaboklab(65.16% 0.1641 -0.099)
OKLCHoklch(65.16% 0.192 328.9)
XYZxyz(39.1539, 24.6642, 57.3308)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC8 #5CCC60
analogous
#985CCC #CC5CC8 #CC5C90
triadic
#CC5CC8 #C8CC5C #5CC8CC
tetradic
#CC5CC8 #CC985C #5CCC60 #5C90CC
square
#CC5CC8 #CC985C #5CCC60 #5C90CC
split-complementary
#CC5CC8 #90CC5C #5CCC98
monochromatic
#842981 #B338AE #CC5CC8 #DB8BD8 #E9B9E7

Accessibility & contrast

On white

3.54
#CC5CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CC5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC8#FFFFFF#000000##000000
##CC5CC81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#768EC5
Tritanopia (blue-blind)
#D2688A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc8;
/* rgb */ color: rgb(204, 92, 200);
/* oklch */ color: oklch(65.2% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#de90d9',
    500: '#cc5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc8;
$custom-light: #de90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc8",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 302.143,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.19168,
    "h": 328.9
  },
  "luminance": 0.24662
}

Semantic roles & 50–950 ramp

primary
#CC5CC8
secondary
#ACD8AD
accent
#DC514C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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