#CC56E2#CC56E2

#CC56E2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.223 H 321.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CC56E2
RGBrgb(204, 86, 226)
HSLhsl(291, 71%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.7%, 61.9%, 0%, 11.4%)
CIE-LABlab(57.06, 65.78, -50.31)
CIE-LCHlch(57.06, 82.81, 322.59°)
OKLaboklab(65.81% 0.1735 -0.1402)
OKLCHoklch(65.81% 0.223 321.1)
XYZxyz(41.9555, 24.9860, 74.5496)
Luminance0.2498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E2 #6CE256
analogous
#8656E2 #CC56E2 #E256B2
triadic
#CC56E2 #E2CC56 #56E2CC
tetradic
#CC56E2 #E28656 #6CE256 #56B2E2
square
#CC56E2 #E28656 #6CE256 #56B2E2
split-complementary
#CC56E2 #B2E256 #56E286
monochromatic
#8D1CA2 #BA25D6 #CC56E2 #DC8AEB #ECBEF4

Accessibility & contrast

On white

3.50
#CC56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CC56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E2#FFFFFF#000000##000000
##CC56E21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#CE6D94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc56e2;
/* rgb */ color: rgb(204, 86, 226);
/* oklch */ color: oklch(65.8% 0.223 321.1);
Tailwind
colors: {
  custom: {
    50: '#df8dec',
    500: '#cc56e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e2;
$custom-light: #df8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e2",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 290.571,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.22303,
    "h": 321.1
  },
  "luminance": 0.24984
}

Semantic roles & 50–950 ramp

primary
#CC56E2
secondary
#B8E4B0
accent
#D31331
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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