#CC62C2#CC62C2

#CC62C2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.6% C 0.177 H 331.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CC62C2
RGBrgb(204, 98, 194)
HSLhsl(306, 51%, 59%)
HSVhsv(306, 52%, 80%)
CMYKcmyk(0%, 52%, 4.9%, 20%)
CIE-LABlab(57.53, 54.62, -31.43)
CIE-LCHlch(57.53, 63.02, 330.09°)
OKLaboklab(65.65% 0.1552 -0.0858)
OKLCHoklch(65.65% 0.177 331.1)
XYZxyz(39.0069, 25.4702, 53.8902)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62C2 #62CC6C
analogous
#A162CC #CC62C2 #CC628D
triadic
#CC62C2 #C2CC62 #62C2CC
tetradic
#CC62C2 #CCA162 #62CC6C #628DCC
square
#CC62C2 #CCA162 #62CC6C #628DCC
split-complementary
#CC62C2 #8DCC62 #62CCA1
monochromatic
#882C7F #B63BAA #CC62C2 #DB90D4 #EABEE6

Accessibility & contrast

On white

3.45
#CC62C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CC62C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62C2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62C2#FFFFFF#000000##000000
##CC62C21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#7D90BF
Tritanopia (blue-blind)
#D36B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc62c2;
/* rgb */ color: rgb(204, 98, 194);
/* oklch */ color: oklch(65.6% 0.177 331.1);
Tailwind
colors: {
  custom: {
    50: '#de93d4',
    500: '#cc62c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc62c2;
$custom-light: #de93d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62c2",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 305.66,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65646,
    "c": 0.17729,
    "h": 331.1
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#CC62C2
secondary
#B0DAB4
accent
#DA5B4D
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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