#CC2BBA#CC2BBA

#CC2BBA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.8% C 0.240 H 333.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC2BBA
RGBrgb(204, 43, 186)
HSLhsl(307, 65%, 48%)
HSVhsv(307, 79%, 80%)
CMYKcmyk(0%, 78.9%, 8.8%, 20%)
CIE-LABlab(49.63, 74.21, -39.18)
CIE-LCHlch(49.63, 83.92, 332.17°)
OKLaboklab(59.78% 0.2148 -0.1076)
OKLCHoklch(59.78% 0.24 333.4)
XYZxyz(34.6289, 18.1134, 48.1173)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2BBA #2BCC3D
analogous
#8D2BCC #CC2BBA #CC2B69
triadic
#CC2BBA #BACC2B #2BBACC
tetradic
#CC2BBA #CC8D2B #2BCC3D #2B69CC
square
#CC2BBA #CC8D2B #2BCC3D #2B69CC
split-complementary
#CC2BBA #69CC2B #2BCC8D
monochromatic
#67165E #99208C #CC2BBA #DC58CD #E78BDC

Accessibility & contrast

On white

4.54
#CC2BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC2BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2BBA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2BBA#FFFFFF#000000##000000
##CC2BBA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#D53E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2bba;
/* rgb */ color: rgb(204, 43, 186);
/* oklch */ color: oklch(59.8% 0.240 333.4);
Tailwind
colors: {
  custom: {
    50: '#e078cf',
    500: '#cc2bba',
    950: '#000000',
  },
}
SCSS
$custom: #cc2bba;
$custom-light: #e078cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2bba",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 306.708,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.24027,
    "h": 333.4
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#CC2BBA
secondary
#82D08B
accent
#E85240
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CC2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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