#CC62F8#CC62F8

#CC62F8 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.5% C 0.227 H 314.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CC62F8
RGBrgb(204, 98, 248)
HSLhsl(282, 91%, 68%)
HSVhsv(282, 60%, 97%)
CMYKcmyk(17.7%, 60.5%, 0%, 2.7%)
CIE-LABlab(60.20, 64.69, -57.57)
CIE-LCHlch(60.20, 86.60, 318.33°)
OKLaboklab(68.47% 0.1597 -0.1615)
OKLCHoklch(68.47% 0.227 314.7)
XYZxyz(46.2100, 28.3515, 91.8269)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62F8 #8EF862
analogous
#8162F8 #CC62F8 #F862D9
triadic
#CC62F8 #F8CC62 #62F8CC
tetradic
#CC62F8 #F88162 #8EF862 #62D9F8
square
#CC62F8 #F88162 #8EF862 #62D9F8
split-complementary
#CC62F8 #D9F862 #62F881
monochromatic
#9A0AD6 #B927F5 #CC62F8 #DF9DFB #F2D7FD

Accessibility & contrast

On white

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

On black

6.67
#CC62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62F8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62F8#FFFFFF#000000##000000
##CC62F81.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFD
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#C97DA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc62f8;
/* rgb */ color: rgb(204, 98, 248);
/* oklch */ color: oklch(68.5% 0.227 314.7);
Tailwind
colors: {
  custom: {
    50: '#df94fb',
    500: '#cc62f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc62f8;
$custom-light: #df94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62f8",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 282.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.22709,
    "h": 314.7
  },
  "luminance": 0.2835
}

Semantic roles & 50–950 ramp

primary
#CC62F8
secondary
#D1F2C4
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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