#CC56ED#CC56ED

#CC56ED is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.233 H 318.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC56ED
RGBrgb(204, 86, 237)
HSLhsl(287, 81%, 63%)
HSVhsv(287, 64%, 93%)
CMYKcmyk(13.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(57.66, 67.84, -55.51)
CIE-LCHlch(57.66, 87.66, 320.71°)
OKLaboklab(66.44% 0.1735 -0.1554)
OKLCHoklch(66.44% 0.233 318.2)
XYZxyz(43.5136, 25.6092, 82.7553)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56ED #77ED56
analogous
#8056ED #CC56ED #ED56C3
triadic
#CC56ED #EDCC56 #56EDCC
tetradic
#CC56ED #ED8056 #77ED56 #56C3ED
square
#CC56ED #ED8056 #77ED56 #56C3ED
split-complementary
#CC56ED #C3ED56 #56ED80
monochromatic
#9213B5 #BB1FE7 #CC56ED #DD8DF3 #EDC5F9

Accessibility & contrast

On white

3.43
#CC56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56ED
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56ED#FFFFFF#000000##000000
##CC56ED1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#5D8EE9
Tritanopia (blue-blind)
#CB719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc56ed;
/* rgb */ color: rgb(204, 86, 237);
/* oklch */ color: oklch(66.4% 0.233 318.2);
Tailwind
colors: {
  custom: {
    50: '#df8df3',
    500: '#cc56ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc56ed;
$custom-light: #df8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56ed",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 286.887,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.23291,
    "h": 318.2
  },
  "luminance": 0.25607
}

Semantic roles & 50–950 ramp

primary
#CC56ED
secondary
#C0EAB4
accent
#DD0837
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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