#CC62F6#CC62F6

#CC62F6 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.4% C 0.225 H 315.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CC62F6
RGBrgb(204, 98, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 60%, 96%)
CMYKcmyk(17.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(60.09, 64.29, -56.64)
CIE-LCHlch(60.09, 85.68, 318.62°)
OKLaboklab(68.36% 0.1597 -0.1587)
OKLCHoklch(68.36% 0.225 315.2)
XYZxyz(45.9014, 28.2281, 90.2015)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62F6 #8CF662
analogous
#8262F6 #CC62F6 #F662D6
triadic
#CC62F6 #F6CC62 #62F6CC
tetradic
#CC62F6 #F68262 #8CF662 #62D6F6
square
#CC62F6 #F68262 #8CF662 #62D6F6
split-complementary
#CC62F6 #D6F662 #62F682
monochromatic
#9A0CD2 #B928F3 #CC62F6 #DF9CF9 #F2D6FD

Accessibility & contrast

On white

3.16
#CC62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CC62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62F6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62F6#FFFFFF#000000##000000
##CC62F61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFB
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#C97CA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc62f6;
/* rgb */ color: rgb(204, 98, 246);
/* oklch */ color: oklch(68.4% 0.225 315.2);
Tailwind
colors: {
  custom: {
    50: '#df94fa',
    500: '#cc62f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc62f6;
$custom-light: #df94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62f6",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 282.973,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.22516,
    "h": 315.2
  },
  "luminance": 0.28227
}

Semantic roles & 50–950 ramp

primary
#CC62F6
secondary
#D0F1C3
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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