#CC57F7#CC57F7

#CC57F7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.241 H 315.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CC57F7
RGBrgb(204, 87, 247)
HSLhsl(284, 91%, 65%)
HSVhsv(284, 65%, 97%)
CMYKcmyk(17.4%, 64.8%, 0%, 3.1%)
CIE-LABlab(58.39, 69.34, -59.92)
CIE-LCHlch(58.39, 91.64, 319.17°)
OKLaboklab(67.14% 0.1721 -0.1683)
OKLCHoklch(67.14% 0.241 315.6)
XYZxyz(45.0959, 26.3708, 90.6922)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57F7 #82F757
analogous
#7C57F7 #CC57F7 #F757D2
triadic
#CC57F7 #F7CC57 #57F7CC
tetradic
#CC57F7 #F77C57 #82F757 #57D2F7
square
#CC57F7 #F77C57 #82F757 #57D2F7
split-complementary
#CC57F7 #D2F757 #57F77C
monochromatic
#960ACA #BA1DF4 #CC57F7 #DE91FA #EFCCFD

Accessibility & contrast

On white

3.35
#CC57F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CC57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57F7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57F7#FFFFFF#000000##000000
##CC57F71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0685FC
Deuteranopia (green-blind)
#5590F3
Tritanopia (blue-blind)
#C975A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc57f7;
/* rgb */ color: rgb(204, 87, 247);
/* oklch */ color: oklch(67.1% 0.241 315.6);
Tailwind
colors: {
  custom: {
    50: '#df8efb',
    500: '#cc57f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc57f7;
$custom-light: #df8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57f7",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 283.875,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6714,
    "c": 0.24073,
    "h": 315.6
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#CC57F7
secondary
#C9F0BA
accent
#E6003E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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