#CC57FC#CC57FC

#CC57FC is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.245 H 314.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CC57FC
RGBrgb(204, 87, 252)
HSLhsl(283, 96%, 66%)
HSVhsv(283, 65%, 99%)
CMYKcmyk(19%, 65.5%, 0%, 1.2%)
CIE-LABlab(58.68, 70.32, -62.22)
CIE-LCHlch(58.68, 93.90, 318.49°)
OKLaboklab(67.44% 0.1719 -0.175)
OKLCHoklch(67.44% 0.245 314.5)
XYZxyz(45.8778, 26.6835, 94.8103)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57FC #87FC57
analogous
#7A57FC #CC57FC #FC57DA
triadic
#CC57FC #FCCC57 #57FCCC
tetradic
#CC57FC #FC7A57 #87FC57 #57DAFC
square
#CC57FC #FC7A57 #87FC57 #57DAFC
split-complementary
#CC57FC #DAFC57 #57FC7A
monochromatic
#9804D5 #BA1BFB #CC57FC #DE93FD #F1CFFE

Accessibility & contrast

On white

3.31
#CC57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CC57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57FC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57FC#FFFFFF#000000##000000
##CC57FC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#C877A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc57fc;
/* rgb */ color: rgb(204, 87, 252);
/* oklch */ color: oklch(67.4% 0.245 314.5);
Tailwind
colors: {
  custom: {
    50: '#e08efe',
    500: '#cc57fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc57fc;
$custom-light: #e08efe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57fc",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 282.545,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.24533,
    "h": 314.5
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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