#CC62E7#CC62E7

#CC62E7 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.5% C 0.211 H 319.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CC62E7
RGBrgb(204, 98, 231)
HSLhsl(288, 73%, 65%)
HSVhsv(288, 58%, 91%)
CMYKcmyk(11.7%, 57.6%, 0%, 9.4%)
CIE-LABlab(59.29, 61.35, -49.57)
CIE-LCHlch(59.29, 78.87, 321.06°)
OKLaboklab(67.51% 0.1592 -0.1381)
OKLCHoklch(67.51% 0.211 319.1)
XYZxyz(43.6914, 27.3441, 78.5623)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC62E7 #7DE762
analogous
#8A62E7 #CC62E7 #E762BF
triadic
#CC62E7 #E7CC62 #62E7CC
tetradic
#CC62E7 #E78A62 #7DE762 #62BFE7
square
#CC62E7 #E78A62 #7DE762 #62BFE7
split-complementary
#CC62E7 #BFE762 #62E78A
monochromatic
#941BB3 #BB2DDF #CC62E7 #DD97EF #EECCF7

Accessibility & contrast

On white

3.25
#CC62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CC62E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC62E7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC62E7#FFFFFF#000000##000000
##CC62E71.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388EB
Deuteranopia (green-blind)
#6A92E4
Tritanopia (blue-blind)
#CC779C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc62e7;
/* rgb */ color: rgb(204, 98, 231);
/* oklch */ color: oklch(67.5% 0.211 319.1);
Tailwind
colors: {
  custom: {
    50: '#de94ef',
    500: '#cc62e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc62e7;
$custom-light: #de94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc62e7",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 287.82,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67512,
    "c": 0.2108,
    "h": 319.1
  },
  "luminance": 0.27342
}

Semantic roles & 50–950 ramp

primary
#CC62E7
secondary
#C5E9BB
accent
#D61038
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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