#CC57F2#CC57F2

#CC57F2 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.236 H 316.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CC57F2
RGBrgb(204, 87, 242)
HSLhsl(285, 86%, 65%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(15.7%, 64%, 0%, 5.1%)
CIE-LABlab(58.10, 68.37, -57.60)
CIE-LCHlch(58.10, 89.40, 319.89°)
OKLaboklab(66.84% 0.1723 -0.1615)
OKLCHoklch(66.84% 0.236 316.9)
XYZxyz(44.3347, 26.0663, 86.6831)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57F2 #7DF257
analogous
#7F57F2 #CC57F2 #F257CB
triadic
#CC57F2 #F2CC57 #57F2CC
tetradic
#CC57F2 #F27F57 #7DF257 #57CBF2
square
#CC57F2 #F27F57 #7DF257 #57CBF2
split-complementary
#CC57F2 #CBF257 #57F27F
monochromatic
#940FC0 #BB1EEE #CC57F2 #DD90F6 #EEC9FB

Accessibility & contrast

On white

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

On black

6.21
#CC57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57F2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57F2#FFFFFF#000000##000000
##CC57F21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F7
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#CA739D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc57f2;
/* rgb */ color: rgb(204, 87, 242);
/* oklch */ color: oklch(66.8% 0.236 316.9);
Tailwind
colors: {
  custom: {
    50: '#df8ef7',
    500: '#cc57f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc57f2;
$custom-light: #df8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57f2",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 285.29,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6684,
    "c": 0.23615,
    "h": 316.9
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#CC57F2
secondary
#C5EDB8
accent
#E2033A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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