#CC56BF#CC56BF

#CC56BF is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.193 H 332.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CC56BF
RGBrgb(204, 86, 191)
HSLhsl(307, 54%, 57%)
HSVhsv(307, 58%, 80%)
CMYKcmyk(0%, 57.8%, 6.4%, 20%)
CIE-LABlab(55.34, 59.67, -33.12)
CIE-LCHlch(55.34, 68.25, 330.97°)
OKLaboklab(63.99% 0.1707 -0.0905)
OKLCHoklch(63.99% 0.193 332.1)
XYZxyz(37.6335, 23.2572, 51.7870)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56BF #56CC63
analogous
#9E56CC #CC56BF #CC5684
triadic
#CC56BF #BFCC56 #56BFCC
tetradic
#CC56BF #CC9E56 #56CC63 #5684CC
square
#CC56BF #CC9E56 #56CC63 #5684CC
split-complementary
#CC56BF #84CC56 #56CC9E
monochromatic
#812777 #B035A2 #CC56BF #DA85D1 #E8B4E3

Accessibility & contrast

On white

3.72
#CC56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CC56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56BF#FFFFFF#000000##000000
##CC56BF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517AC2
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#D46083
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc56bf;
/* rgb */ color: rgb(204, 86, 191);
/* oklch */ color: oklch(64.0% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#de8cd2',
    500: '#cc56bf',
    950: '#000000',
  },
}
SCSS
$custom: #cc56bf;
$custom-light: #de8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56bf",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 306.61,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.19318,
    "h": 332.1
  },
  "luminance": 0.23255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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