#CC62CC#CC62CC

#CC62CC is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.1% C 0.186 H 327.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CC62CC
RGBrgb(204, 98, 204)
HSLhsl(300, 51%, 59%)
HSVhsv(300, 52%, 80%)
CMYKcmyk(0%, 52%, 0%, 20%)
CIE-LABlab(57.98, 56.36, -36.43)
CIE-LCHlch(57.98, 67.11, 327.12°)
OKLaboklab(66.12% 0.1567 -0.1001)
OKLCHoklch(66.12% 0.186 327.4)
XYZxyz(40.1679, 25.9347, 60.0052)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62CC #62CC62
analogous
#9762CC #CC62CC #CC6297
triadic
#CC62CC #CCCC62 #62CCCC
tetradic
#CC62CC #CC9762 #62CC62 #6297CC
square
#CC62CC #CC9762 #62CC62 #6297CC
split-complementary
#CC62CC #97CC62 #62CC97
monochromatic
#882C88 #B63BB6 #CC62CC #DB90DB #EABEEA

Accessibility & contrast

On white

3.39
#CC62CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CC62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62CC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62CC#FFFFFF#000000##000000
##CC62CC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CF
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#D16E8E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc62cc;
/* rgb */ color: rgb(204, 98, 204);
/* oklch */ color: oklch(66.1% 0.186 327.4);
Tailwind
colors: {
  custom: {
    50: '#de93dc',
    500: '#cc62cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc62cc;
$custom-light: #de93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62cc",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.18595,
    "h": 327.4
  },
  "luminance": 0.25932
}

Semantic roles & 50–950 ramp

primary
#CC62CC
secondary
#B0DAB0
accent
#DA4D4D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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