#CC56E3#CC56E3

#CC56E3 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.224 H 320.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CC56E3
RGBrgb(204, 86, 227)
HSLhsl(290, 72%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.1%, 62.1%, 0%, 11%)
CIE-LABlab(57.12, 65.97, -50.78)
CIE-LCHlch(57.12, 83.25, 322.41°)
OKLaboklab(65.86% 0.1735 -0.1416)
OKLCHoklch(65.86% 0.224 320.8)
XYZxyz(42.0931, 25.0410, 75.2743)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56E3 #6DE356
analogous
#8656E3 #CC56E3 #E356B4
triadic
#CC56E3 #E3CC56 #56E3CC
tetradic
#CC56E3 #E38656 #6DE356 #56B4E3
square
#CC56E3 #E38656 #6DE356 #56B4E3
split-complementary
#CC56E3 #B4E356 #56E386
monochromatic
#8D1BA4 #BB24D8 #CC56E3 #DC8BEC #ECBFF4

Accessibility & contrast

On white

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

On black

6.01
#CC56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56E3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56E3#FFFFFF#000000##000000
##CC56E31.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E7
Deuteranopia (green-blind)
#648DDF
Tritanopia (blue-blind)
#CD6D95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc56e3;
/* rgb */ color: rgb(204, 86, 227);
/* oklch */ color: oklch(65.9% 0.224 320.8);
Tailwind
colors: {
  custom: {
    50: '#df8dec',
    500: '#cc56e3',
    950: '#000000',
  },
}
SCSS
$custom: #cc56e3;
$custom-light: #df8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56e3",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 290.213,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.22392,
    "h": 320.8
  },
  "luminance": 0.25039
}

Semantic roles & 50–950 ramp

primary
#CC56E3
secondary
#B9E5B0
accent
#D41231
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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