#CC2FCE#CC2FCE

#CC2FCE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.2% C 0.251 H 327.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC2FCE
RGBrgb(204, 47, 206)
HSLhsl(299, 63%, 50%)
HSVhsv(299, 77%, 81%)
CMYKcmyk(1%, 77.2%, 0%, 19.2%)
CIE-LABlab(51.07, 76.18, -48.48)
CIE-LCHlch(51.07, 90.29, 327.53°)
OKLaboklab(61.15% 0.2117 -0.1346)
OKLCHoklch(61.15% 0.251 327.6)
XYZxyz(37.0584, 19.3294, 60.1596)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FCE #31CE2F
analogous
#7C2FCE #CC2FCE #CE2F81
triadic
#CC2FCE #CECC2F #2FCECC
tetradic
#CC2FCE #CE7C2F #31CE2F #2F81CE
square
#CC2FCE #CE7C2F #31CE2F #2F81CE
split-complementary
#CC2FCE #81CE2F #2FCE7C
monochromatic
#69186A #9B249C #CC2FCE #D960DB #E591E6

Accessibility & contrast

On white

4.32
#CC2FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC2FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FCE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FCE#FFFFFF#000000##000000
##CC2FCE1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#D24B7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc2fce;
/* rgb */ color: rgb(204, 47, 206);
/* oklch */ color: oklch(61.2% 0.251 327.6);
Tailwind
colors: {
  custom: {
    50: '#e07add',
    500: '#cc2fce',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fce;
$custom-light: #e07add;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fce",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 206
  },
  "hsl": {
    "h": 299.245,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.25088,
    "h": 327.6
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#CC2FCE
secondary
#89D188
accent
#E64244
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC2FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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