#CC2FBE#CC2FBE

#CC2FBE is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.240 H 332.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC2FBE
RGBrgb(204, 47, 190)
HSLhsl(305, 63%, 49%)
HSVhsv(305, 77%, 80%)
CMYKcmyk(0%, 77%, 6.9%, 20%)
CIE-LABlab(50.21, 73.74, -40.60)
CIE-LCHlch(50.21, 84.18, 331.16°)
OKLaboklab(60.26% 0.2119 -0.1117)
OKLCHoklch(60.26% 0.24 332.2)
XYZxyz(35.2127, 18.5911, 50.4391)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FBE #2FCC3D
analogous
#8C2FCC #CC2FBE #CC2F70
triadic
#CC2FBE #BECC2F #2FBECC
tetradic
#CC2FBE #CC8C2F #2FCC3D #2F70CC
square
#CC2FBE #CC8C2F #2FCC3D #2F70CC
split-complementary
#CC2FBE #70CC2F #2FCC8C
monochromatic
#691861 #9A2490 #CC2FBE #DA5ECF #E590DE

Accessibility & contrast

On white

4.45
#CC2FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC2FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FBE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FBE#FFFFFF#000000##000000
##CC2FBE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#D54275
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2fbe;
/* rgb */ color: rgb(204, 47, 190);
/* oklch */ color: oklch(60.3% 0.240 332.2);
Tailwind
colors: {
  custom: {
    50: '#e079d2',
    500: '#cc2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fbe;
$custom-light: #e079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fbe",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 305.35,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.23952,
    "h": 332.2
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#CC2FBE
secondary
#87D08D
accent
#E65142
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CC2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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