#CC62F5#CC62F5

#CC62F5 is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.3% C 0.224 H 315.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CC62F5
RGBrgb(204, 98, 245)
HSLhsl(283, 88%, 67%)
HSVhsv(283, 60%, 96%)
CMYKcmyk(16.7%, 60%, 0%, 3.9%)
CIE-LABlab(60.04, 64.09, -56.17)
CIE-LCHlch(60.04, 85.22, 318.77°)
OKLaboklab(68.3% 0.1597 -0.1574)
OKLCHoklch(68.3% 0.224 315.4)
XYZxyz(45.7484, 28.1668, 89.3954)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62F5 #8BF562
analogous
#8262F5 #CC62F5 #F562D5
triadic
#CC62F5 #F5CC62 #62F5CC
tetradic
#CC62F5 #F58262 #8BF562 #62D5F5
square
#CC62F5 #F58262 #8BF562 #62D5F5
split-complementary
#CC62F5 #D5F562 #62F582
monochromatic
#990DCF #B928F1 #CC62F5 #DF9CF9 #F1D5FC

Accessibility & contrast

On white

3.17
#CC62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CC62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62F5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62F5#FFFFFF#000000##000000
##CC62F51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AFA
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#C97CA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc62f5;
/* rgb */ color: rgb(204, 98, 245);
/* oklch */ color: oklch(68.3% 0.224 315.4);
Tailwind
colors: {
  custom: {
    50: '#df94f9',
    500: '#cc62f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc62f5;
$custom-light: #df94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62f5",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 283.265,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.22419,
    "h": 315.4
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#CC62F5
secondary
#CFF1C2
accent
#E50140
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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