#CC2BBC#CC2BBC

#CC2BBC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.9% C 0.242 H 332.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC2BBC
RGBrgb(204, 43, 188)
HSLhsl(306, 65%, 48%)
HSVhsv(306, 79%, 80%)
CMYKcmyk(0%, 78.9%, 7.8%, 20%)
CIE-LABlab(49.74, 74.50, -40.18)
CIE-LCHlch(49.74, 84.64, 331.66°)
OKLaboklab(59.89% 0.2149 -0.1105)
OKLCHoklch(59.89% 0.242 332.8)
XYZxyz(34.8430, 18.1990, 49.2449)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BBC #2BCC3B
analogous
#8B2BCC #CC2BBC #CC2B6B
triadic
#CC2BBC #BCCC2B #2BBCCC
tetradic
#CC2BBC #CC8B2B #2BCC3B #2B6BCC
square
#CC2BBC #CC8B2B #2BCC3B #2B6BCC
split-complementary
#CC2BBC #6BCC2B #2BCC8B
monochromatic
#67165F #99208D #CC2BBC #DC58CF #E78BDD

Accessibility & contrast

On white

4.53
#CC2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC2BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BBC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BBC#FFFFFF#000000##000000
##CC2BBC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#D53F73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2bbc;
/* rgb */ color: rgb(204, 43, 188);
/* oklch */ color: oklch(59.9% 0.242 332.8);
Tailwind
colors: {
  custom: {
    50: '#e078d0',
    500: '#cc2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bbc;
$custom-light: #e078d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bbc",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 305.963,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.24162,
    "h": 332.8
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#CC2BBC
secondary
#82D08A
accent
#E85040
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CC2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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