#CC2FCB#CC2FCB

#CC2FCB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 61.0% C 0.249 H 328.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC2FCB
RGBrgb(204, 47, 203)
HSLhsl(300, 63%, 49%)
HSVhsv(300, 77%, 80%)
CMYKcmyk(0%, 77%, 0.5%, 20%)
CIE-LABlab(50.90, 75.71, -47.02)
CIE-LCHlch(50.90, 89.12, 328.16°)
OKLaboklab(60.98% 0.2118 -0.1303)
OKLCHoklch(60.98% 0.249 328.4)
XYZxyz(36.6975, 19.1850, 58.2586)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FCB #2FCC30
analogous
#7F2FCC #CC2FCB #CC2F7D
triadic
#CC2FCB #CBCC2F #2FCBCC
tetradic
#CC2FCB #CC7F2F #2FCC30 #2F7DCC
square
#CC2FCB #CC7F2F #2FCC30 #2F7DCC
split-complementary
#CC2FCB #7DCC2F #2FCC7F
monochromatic
#691868 #9A249A #CC2FCB #DA5ED9 #E590E5

Accessibility & contrast

On white

4.34
#CC2FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC2FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FCB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FCB#FFFFFF#000000##000000
##CC2FCB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#D3497D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc2fcb;
/* rgb */ color: rgb(204, 47, 203);
/* oklch */ color: oklch(61.0% 0.249 328.4);
Tailwind
colors: {
  custom: {
    50: '#e07adb',
    500: '#cc2fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fcb;
$custom-light: #e07adb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fcb",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 203
  },
  "hsl": {
    "h": 300.382,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.24871,
    "h": 328.4
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#CC2FCB
secondary
#87D087
accent
#E64342
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CC2FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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