#CC2ECF#CC2ECF

#CC2ECF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.1% C 0.252 H 327.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC2ECF
RGBrgb(204, 46, 207)
HSLhsl(299, 64%, 50%)
HSVhsv(299, 78%, 81%)
CMYKcmyk(1.4%, 77.8%, 0%, 18.8%)
CIE-LABlab(51.04, 76.60, -49.11)
CIE-LCHlch(51.04, 90.99, 327.34°)
OKLaboklab(61.15% 0.2124 -0.1364)
OKLCHoklch(61.15% 0.252 327.3)
XYZxyz(37.1408, 19.2991, 60.7883)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2ECF #31CF2E
analogous
#7C2ECF #CC2ECF #CF2E82
triadic
#CC2ECF #CFCC2E #2ECFCC
tetradic
#CC2ECF #CF7C2E #31CF2E #2E82CF
square
#CC2ECF #CF7C2E #31CF2E #2E82CF
split-complementary
#CC2ECF #82CF2E #2ECF7C
monochromatic
#69186B #9B239D #CC2ECF #D95FDB #E591E7

Accessibility & contrast

On white

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

On black

4.86
#CC2ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2ECF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2ECF#FFFFFF#000000##000000
##CC2ECF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#D24B7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc2ecf;
/* rgb */ color: rgb(204, 46, 207);
/* oklch */ color: oklch(61.1% 0.252 327.3);
Tailwind
colors: {
  custom: {
    50: '#e07ade',
    500: '#cc2ecf',
    950: '#000000',
  },
}
SCSS
$custom: #cc2ecf;
$custom-light: #e07ade;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2ecf",
  "rgb": {
    "r": 204,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 298.882,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.25244,
    "h": 327.3
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#CC2ECF
secondary
#89D188
accent
#E74144
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CC2ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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