#CC2BB7#CC2BB7

#CC2BB7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.6% C 0.238 H 334.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC2BB7
RGBrgb(204, 43, 183)
HSLhsl(308, 65%, 48%)
HSVhsv(308, 79%, 80%)
CMYKcmyk(0%, 78.9%, 10.3%, 20%)
CIE-LABlab(49.48, 73.78, -37.67)
CIE-LCHlch(49.48, 82.84, 332.95°)
OKLaboklab(59.62% 0.2147 -0.1032)
OKLCHoklch(59.62% 0.238 334.3)
XYZxyz(34.3133, 17.9871, 46.4553)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BB7 #2BCC40
analogous
#902BCC #CC2BB7 #CC2B66
triadic
#CC2BB7 #B7CC2B #2BB7CC
tetradic
#CC2BB7 #CC902B #2BCC40 #2B66CC
square
#CC2BB7 #CC902B #2BCC40 #2B66CC
split-complementary
#CC2BB7 #66CC2B #2BCC90
monochromatic
#67165C #99208A #CC2BB7 #DC58CB #E78BDB

Accessibility & contrast

On white

4.57
#CC2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC2BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BB7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BB7#FFFFFF#000000##000000
##CC2BB71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#D63C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2bb7;
/* rgb */ color: rgb(204, 43, 183);
/* oklch */ color: oklch(59.6% 0.238 334.3);
Tailwind
colors: {
  custom: {
    50: '#e078cd',
    500: '#cc2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bb7;
$custom-light: #e078cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bb7",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 307.826,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.23825,
    "h": 334.3
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#CC2BB7
secondary
#82D08D
accent
#E85640
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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