#CC56FA#CC56FA

#CC56FA is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.245 H 315.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC56FA
RGBrgb(204, 86, 250)
HSLhsl(283, 94%, 66%)
HSVhsv(283, 66%, 98%)
CMYKcmyk(18.4%, 65.6%, 0%, 2%)
CIE-LABlab(58.41, 70.35, -61.55)
CIE-LCHlch(58.41, 93.47, 318.82°)
OKLaboklab(67.21% 0.1731 -0.173)
OKLCHoklch(67.21% 0.245 315)
XYZxyz(45.4822, 26.3966, 93.1232)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56FA #84FA56
analogous
#7A56FA #CC56FA #FA56D6
triadic
#CC56FA #FACC56 #56FACC
tetradic
#CC56FA #FA7A56 #84FA56 #56D6FA
square
#CC56FA #FA7A56 #84FA56 #56D6FA
split-complementary
#CC56FA #D6FA56 #56FA7A
monochromatic
#9706CF #BA1BF8 #CC56FA #DE91FC #F0CDFE

Accessibility & contrast

On white

3.34
#CC56FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CC56FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56FA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56FA#FFFFFF#000000##000000
##CC56FA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5290F6
Tritanopia (blue-blind)
#C876A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc56fa;
/* rgb */ color: rgb(204, 86, 250);
/* oklch */ color: oklch(67.2% 0.245 315.0);
Tailwind
colors: {
  custom: {
    50: '#e08dfd',
    500: '#cc56fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc56fa;
$custom-light: #e08dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56fa",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 250
  },
  "hsl": {
    "h": 283.171,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.24474,
    "h": 315
  },
  "luminance": 0.26395
}

Semantic roles & 50–950 ramp

primary
#CC56FA
secondary
#CAF1BB
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC56FA

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

Preview Lab → · Contrast checker → · Palette generator →

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