#CC56E6#CC56E6

#CC56E6 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.227 H 320.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CC56E6
RGBrgb(204, 86, 230)
HSLhsl(289, 74%, 62%)
HSVhsv(289, 63%, 90%)
CMYKcmyk(11.3%, 62.6%, 0%, 9.8%)
CIE-LABlab(57.28, 66.52, -52.21)
CIE-LCHlch(57.28, 84.57, 321.87°)
OKLaboklab(66.03% 0.1735 -0.1457)
OKLCHoklch(66.03% 0.227 320)
XYZxyz(42.5108, 25.2081, 77.4740)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E6 #70E656
analogous
#8456E6 #CC56E6 #E656B8
triadic
#CC56E6 #E6CC56 #56E6CC
tetradic
#CC56E6 #E68456 #70E656 #56B8E6
square
#CC56E6 #E68456 #70E656 #56B8E6
split-complementary
#CC56E6 #B8E656 #56E684
monochromatic
#8F19A9 #BC21DE #CC56E6 #DC8BEE #ECC1F6

Accessibility & contrast

On white

3.48
#CC56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CC56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E6#FFFFFF#000000##000000
##CC56E61.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81EA
Deuteranopia (green-blind)
#628EE2
Tritanopia (blue-blind)
#CD6E97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc56e6;
/* rgb */ color: rgb(204, 86, 230);
/* oklch */ color: oklch(66.0% 0.227 320.0);
Tailwind
colors: {
  custom: {
    50: '#df8dee',
    500: '#cc56e6',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e6;
$custom-light: #df8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e6",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 289.167,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.2266,
    "h": 320
  },
  "luminance": 0.25206
}

Semantic roles & 50–950 ramp

primary
#CC56E6
secondary
#BBE6B1
accent
#D60F33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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