#CC62CD#CC62CD

#CC62CD is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.2% C 0.187 H 327.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CC62CD
RGBrgb(204, 98, 205)
HSLhsl(299, 52%, 59%)
HSVhsv(299, 52%, 80%)
CMYKcmyk(0.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(58.02, 56.54, -36.93)
CIE-LCHlch(58.02, 67.53, 326.85°)
OKLaboklab(66.17% 0.1568 -0.1015)
OKLCHoklch(66.17% 0.187 327.1)
XYZxyz(40.2883, 25.9828, 60.6389)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62CD #63CD62
analogous
#9762CD #CC62CD #CD6299
triadic
#CC62CD #CDCC62 #62CDCC
tetradic
#CC62CD #CD9762 #63CD62 #6299CD
square
#CC62CD #CD9762 #63CD62 #6299CD
split-complementary
#CC62CD #99CD62 #62CD97
monochromatic
#882C89 #B63AB7 #CC62CD #DB90DC #EABFEB

Accessibility & contrast

On white

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

On black

6.20
#CC62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62CD#FFFFFF#000000##000000
##CC62CD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#D16E8F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc62cd;
/* rgb */ color: rgb(204, 98, 205);
/* oklch */ color: oklch(66.2% 0.187 327.1);
Tailwind
colors: {
  custom: {
    50: '#de93dc',
    500: '#cc62cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc62cd;
$custom-light: #de93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62cd",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 299.439,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.18683,
    "h": 327.1
  },
  "luminance": 0.25981
}

Semantic roles & 50–950 ramp

primary
#CC62CD
secondary
#B1DAB1
accent
#DB4D4E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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