#CC2CE2#CC2CE2

#CC2CE2 is a light, highly saturated purple. Relative luminance 0.201; OKLCH L 62.2% C 0.268 H 322.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC2CE2
RGBrgb(204, 44, 226)
HSLhsl(293, 76%, 53%)
HSVhsv(293, 81%, 89%)
CMYKcmyk(9.7%, 80.5%, 0%, 11.4%)
CIE-LABlab(51.99, 80.17, -58.42)
CIE-LCHlch(51.99, 99.20, 323.92°)
OKLaboklab(62.18% 0.2122 -0.1636)
OKLCHoklch(62.18% 0.268 322.4)
XYZxyz(39.5286, 20.1321, 73.7406)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CE2 #42E22C
analogous
#712CE2 #CC2CE2 #E22C9D
triadic
#CC2CE2 #E2CC2C #2CE2CC
tetradic
#CC2CE2 #E2712C #42E22C #2C9DE2
square
#CC2CE2 #E2712C #42E22C #2C9DE2
split-complementary
#CC2CE2 #9DE22C #2CE271
monochromatic
#741282 #A419B8 #CC2CE2 #D962E9 #E698F1

Accessibility & contrast

On white

4.18
#CC2CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC2CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2CE2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2CE2#FFFFFF#000000##000000
##CC2CE21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#CE5489
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc2ce2;
/* rgb */ color: rgb(204, 44, 226);
/* oklch */ color: oklch(62.2% 0.268 322.4);
Tailwind
colors: {
  custom: {
    50: '#e07aec',
    500: '#cc2ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cc2ce2;
$custom-light: #e07aec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2ce2",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 292.747,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.26799,
    "h": 322.4
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#CC2CE2
secondary
#97DC8E
accent
#F2354C
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CC2CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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