#CC2BC3#CC2BC3

#CC2BC3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.3% C 0.246 H 330.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC2BC3
RGBrgb(204, 43, 195)
HSLhsl(303, 65%, 48%)
HSVhsv(303, 79%, 80%)
CMYKcmyk(0%, 78.9%, 4.4%, 20%)
CIE-LABlab(50.11, 75.53, -43.66)
CIE-LCHlch(50.11, 87.24, 329.97°)
OKLaboklab(60.27% 0.2149 -0.1206)
OKLCHoklch(60.27% 0.246 330.7)
XYZxyz(35.6160, 18.5082, 53.3158)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BC3 #2BCC34
analogous
#842BCC #CC2BC3 #CC2B72
triadic
#CC2BC3 #C3CC2B #2BC3CC
tetradic
#CC2BC3 #CC842B #2BCC34 #2B72CC
square
#CC2BC3 #CC842B #2BCC34 #2B72CC
split-complementary
#CC2BC3 #72CC2B #2BCC84
monochromatic
#671662 #992093 #CC2BC3 #DC58D5 #E78BE1

Accessibility & contrast

On white

4.47
#CC2BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC2BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BC3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BC3#FFFFFF#000000##000000
##CC2BC31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1169C7
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#D44377
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2bc3;
/* rgb */ color: rgb(204, 43, 195);
/* oklch */ color: oklch(60.3% 0.246 330.7);
Tailwind
colors: {
  custom: {
    50: '#e078d6',
    500: '#cc2bc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bc3;
$custom-light: #e078d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bc3",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 303.354,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.24643,
    "h": 330.7
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#CC2BC3
secondary
#82D087
accent
#E84940
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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