#CC56F0#CC56F0

#CC56F0 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.236 H 317.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CC56F0
RGBrgb(204, 86, 240)
HSLhsl(286, 84%, 64%)
HSVhsv(286, 64%, 94%)
CMYKcmyk(15%, 64.2%, 0%, 5.9%)
CIE-LABlab(57.83, 68.41, -56.92)
CIE-LCHlch(57.83, 88.99, 320.24°)
OKLaboklab(66.61% 0.1734 -0.1595)
OKLCHoklch(66.61% 0.236 317.4)
XYZxyz(43.9555, 25.7860, 85.0830)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56F0 #7AF056
analogous
#7F56F0 #CC56F0 #F056C7
triadic
#CC56F0 #F0CC56 #56F0CC
tetradic
#CC56F0 #F07F56 #7AF056 #56C7F0
square
#CC56F0 #F07F56 #7AF056 #56C7F0
split-complementary
#CC56F0 #C7F056 #56F07F
monochromatic
#9311BB #BB1EEB #CC56F0 #DD8EF5 #EEC6FA

Accessibility & contrast

On white

3.41
#CC56F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CC56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56F0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56F0#FFFFFF#000000##000000
##CC56F01.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F5
Deuteranopia (green-blind)
#5A8FEC
Tritanopia (blue-blind)
#CB729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc56f0;
/* rgb */ color: rgb(204, 86, 240);
/* oklch */ color: oklch(66.6% 0.236 317.4);
Tailwind
colors: {
  custom: {
    50: '#df8df6',
    500: '#cc56f0',
    950: '#000000',
  },
}
SCSS
$custom: #cc56f0;
$custom-light: #df8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56f0",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 285.974,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66612,
    "c": 0.23562,
    "h": 317.4
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#CC56F0
secondary
#C3ECB6
accent
#E00539
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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