#CC62F7#CC62F7

#CC62F7 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.4% C 0.226 H 314.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#CC62F7
RGBrgb(204, 98, 247)
HSLhsl(283, 90%, 68%)
HSVhsv(283, 60%, 97%)
CMYKcmyk(17.4%, 60.3%, 0%, 3.1%)
CIE-LABlab(60.15, 64.49, -57.11)
CIE-LCHlch(60.15, 86.14, 318.48°)
OKLaboklab(68.41% 0.1597 -0.1601)
OKLCHoklch(68.41% 0.226 314.9)
XYZxyz(46.0553, 28.2896, 91.0120)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62F7 #8DF762
analogous
#8262F7 #CC62F7 #F762D7
triadic
#CC62F7 #F7CC62 #62F7CC
tetradic
#CC62F7 #F78262 #8DF762 #62D7F7
square
#CC62F7 #F78262 #8DF762 #62D7F7
split-complementary
#CC62F7 #D7F762 #62F782
monochromatic
#9A0BD4 #B928F4 #CC62F7 #DF9CFA #F2D6FD

Accessibility & contrast

On white

3.15
#CC62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#CC62F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62F7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62F7#FFFFFF#000000##000000
##CC62F71.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFC
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#C97DA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc62f7;
/* rgb */ color: rgb(204, 98, 247);
/* oklch */ color: oklch(68.4% 0.226 314.9);
Tailwind
colors: {
  custom: {
    50: '#df94fa',
    500: '#cc62f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc62f7;
$custom-light: #df94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62f7",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 282.685,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68414,
    "c": 0.22613,
    "h": 314.9
  },
  "luminance": 0.28288
}

Semantic roles & 50–950 ramp

primary
#CC62F7
secondary
#D1F2C3
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC62F7

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

Preview Lab → · Contrast checker → · Palette generator →

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