#CC56F1#CC56F1

#CC56F1 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.7% C 0.237 H 317.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CC56F1
RGBrgb(204, 86, 241)
HSLhsl(286, 85%, 64%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(15.4%, 64.3%, 0%, 5.5%)
CIE-LABlab(57.89, 68.60, -57.38)
CIE-LCHlch(57.89, 89.44, 320.09°)
OKLaboklab(66.67% 0.1734 -0.1608)
OKLCHoklch(66.67% 0.237 317.2)
XYZxyz(44.1045, 25.8456, 85.8675)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56F1 #7BF156
analogous
#7F56F1 #CC56F1 #F156C9
triadic
#CC56F1 #F1CC56 #56F1CC
tetradic
#CC56F1 #F17F56 #7BF156 #56C9F1
square
#CC56F1 #F17F56 #7BF156 #56C9F1
split-complementary
#CC56F1 #C9F156 #56F17F
monochromatic
#9410BD #BB1DEC #CC56F1 #DD8FF6 #EEC7FA

Accessibility & contrast

On white

3.40
#CC56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CC56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56F1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56F1#FFFFFF#000000##000000
##CC56F11.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F6
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#CA729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc56f1;
/* rgb */ color: rgb(204, 86, 241);
/* oklch */ color: oklch(66.7% 0.237 317.2);
Tailwind
colors: {
  custom: {
    50: '#df8df6',
    500: '#cc56f1',
    950: '#000000',
  },
}
SCSS
$custom: #cc56f1;
$custom-light: #df8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56f1",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 285.677,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66671,
    "c": 0.23653,
    "h": 317.2
  },
  "luminance": 0.25844
}

Semantic roles & 50–950 ramp

primary
#CC56F1
secondary
#C3ECB6
accent
#E10439
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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