#CC56FD#CC56FD

#CC56FD is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.247 H 314.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CC56FD
RGBrgb(204, 86, 253)
HSLhsl(282, 98%, 66%)
HSVhsv(282, 66%, 99%)
CMYKcmyk(19.4%, 66%, 0%, 0.8%)
CIE-LABlab(58.59, 70.93, -62.92)
CIE-LCHlch(58.59, 94.82, 318.42°)
OKLaboklab(67.4% 0.1729 -0.1771)
OKLCHoklch(67.4% 0.247 314.3)
XYZxyz(45.9563, 26.5863, 95.6203)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56FD #87FD56
analogous
#7956FD #CC56FD #FD56DB
triadic
#CC56FD #FDCC56 #56FDCC
tetradic
#CC56FD #FD7956 #87FD56 #56DBFD
square
#CC56FD #FD7956 #87FD56 #56DBFD
split-complementary
#CC56FD #DBFD56 #56FD79
monochromatic
#9803D6 #BA1AFC #CC56FD #DE92FE #F1CFFE

Accessibility & contrast

On white

3.32
#CC56FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CC56FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56FD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56FD#FFFFFF#000000##000000
##CC56FD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#C877A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc56fd;
/* rgb */ color: rgb(204, 86, 253);
/* oklch */ color: oklch(67.4% 0.247 314.3);
Tailwind
colors: {
  custom: {
    50: '#e08eff',
    500: '#cc56fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc56fd;
$custom-light: #e08eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56fd",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 282.395,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67398,
    "c": 0.24748,
    "h": 314.3
  },
  "luminance": 0.26585
}

Semantic roles & 50–950 ramp

primary
#CC56FD
secondary
#CCF2BC
accent
#E60043
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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