#CC2FBD#CC2FBD

#CC2FBD is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.239 H 332.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC2FBD
RGBrgb(204, 47, 189)
HSLhsl(306, 63%, 49%)
HSVhsv(306, 77%, 80%)
CMYKcmyk(0%, 77%, 7.4%, 20%)
CIE-LABlab(50.15, 73.59, -40.10)
CIE-LCHlch(50.15, 83.81, 331.41°)
OKLaboklab(60.2% 0.2118 -0.1103)
OKLCHoklch(60.2% 0.239 332.5)
XYZxyz(35.1038, 18.5475, 49.8654)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FBD #2FCC3E
analogous
#8C2FCC #CC2FBD #CC2F6F
triadic
#CC2FBD #BDCC2F #2FBDCC
tetradic
#CC2FBD #CC8C2F #2FCC3E #2F6FCC
square
#CC2FBD #CC8C2F #2FCC3E #2F6FCC
split-complementary
#CC2FBD #6FCC2F #2FCC8C
monochromatic
#691861 #9A248F #CC2FBD #DA5ECE #E590DD

Accessibility & contrast

On white

4.46
#CC2FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC2FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FBD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FBD#FFFFFF#000000##000000
##CC2FBD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2469C1
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#D54275
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2fbd;
/* rgb */ color: rgb(204, 47, 189);
/* oklch */ color: oklch(60.2% 0.239 332.5);
Tailwind
colors: {
  custom: {
    50: '#e079d1',
    500: '#cc2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fbd;
$custom-light: #e079d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fbd",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 305.732,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.23882,
    "h": 332.5
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#CC2FBD
secondary
#87D08E
accent
#E65242
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CC2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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