#CC57BF#CC57BF

#CC57BF is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.1% C 0.192 H 332.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CC57BF
RGBrgb(204, 87, 191)
HSLhsl(307, 53%, 57%)
HSVhsv(307, 57%, 80%)
CMYKcmyk(0%, 57.4%, 6.4%, 20%)
CIE-LABlab(55.50, 59.22, -32.87)
CIE-LCHlch(55.50, 67.73, 330.97°)
OKLaboklab(64.11% 0.1694 -0.0898)
OKLCHoklch(64.11% 0.192 332.1)
XYZxyz(37.7139, 23.4180, 51.8138)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC57BF #57CC64
analogous
#9F57CC #CC57BF #CC5784
triadic
#CC57BF #BFCC57 #57BFCC
tetradic
#CC57BF #CC9F57 #57CC64 #5784CC
square
#CC57BF #CC9F57 #57CC64 #5784CC
split-complementary
#CC57BF #84CC57 #57CC9F
monochromatic
#812777 #B036A3 #CC57BF #DA86D1 #E9B5E3

Accessibility & contrast

On white

3.70
#CC57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CC57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC57BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC57BF#FFFFFF#000000##000000
##CC57BF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#D46183
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc57bf;
/* rgb */ color: rgb(204, 87, 191);
/* oklch */ color: oklch(64.1% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#de8cd2',
    500: '#cc57bf',
    950: '#000000',
  },
}
SCSS
$custom: #cc57bf;
$custom-light: #de8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc57bf",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 306.667,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.19171,
    "h": 332.1
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#CC57BF
secondary
#A8D7AD
accent
#DD5B4B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150D14
muted
#847D82

Preview Lab

Preview with #CC57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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