#CC56F5#CC56F5

#CC56F5 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.9% C 0.240 H 316.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CC56F5
RGBrgb(204, 86, 245)
HSLhsl(285, 89%, 65%)
HSVhsv(285, 65%, 96%)
CMYKcmyk(16.7%, 64.9%, 0%, 3.9%)
CIE-LABlab(58.12, 69.37, -59.24)
CIE-LCHlch(58.12, 91.23, 319.50°)
OKLaboklab(66.91% 0.1733 -0.1663)
OKLCHoklch(66.91% 0.24 316.2)
XYZxyz(44.7085, 26.0872, 89.0488)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56F5 #7FF556
analogous
#7C56F5 #CC56F5 #F556CF
triadic
#CC56F5 #F5CC56 #56F5CC
tetradic
#CC56F5 #F57C56 #7FF556 #56CFF5
square
#CC56F5 #F57C56 #7FF556 #56CFF5
split-complementary
#CC56F5 #CFF556 #56F57C
monochromatic
#950CC5 #BB1CF2 #CC56F5 #DD90F8 #EFCAFC

Accessibility & contrast

On white

3.38
#CC56F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CC56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56F5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56F5#FFFFFF#000000##000000
##CC56F51.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0985FA
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#CA749F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc56f5;
/* rgb */ color: rgb(204, 86, 245);
/* oklch */ color: oklch(66.9% 0.240 316.2);
Tailwind
colors: {
  custom: {
    50: '#df8df9',
    500: '#cc56f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc56f5;
$custom-light: #df8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56f5",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 284.528,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.24017,
    "h": 316.2
  },
  "luminance": 0.26086
}

Semantic roles & 50–950 ramp

primary
#CC56F5
secondary
#C6EFB8
accent
#E5003B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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