#CC77E7#CC77E7

#CC77E7 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.179 H 317.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CC77E7
RGBrgb(204, 119, 231)
HSLhsl(286, 70%, 69%)
HSVhsv(286, 48%, 91%)
CMYKcmyk(11.7%, 48.5%, 0%, 9.4%)
CIE-LABlab(63.18, 51.05, -43.43)
CIE-LCHlch(63.18, 67.02, 319.61°)
OKLaboklab(70.37% 0.1318 -0.1204)
OKLCHoklch(70.37% 0.179 317.6)
XYZxyz(45.9204, 31.8021, 79.3053)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77E7 #92E777
analogous
#9477E7 #CC77E7 #E777CA
triadic
#CC77E7 #E7CC77 #77E7CC
tetradic
#CC77E7 #E79477 #92E777 #77CAE7
square
#CC77E7 #E79477 #92E777 #77CAE7
split-complementary
#CC77E7 #CAE777 #77E794
monochromatic
#9B22C1 #B843DE #CC77E7 #E0ABF0 #F3DFF9

Accessibility & contrast

On white

2.85
#CC77E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CC77E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77E7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77E7#FFFFFF#000000##000000
##CC77E71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#CC87A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc77e7;
/* rgb */ color: rgb(204, 119, 231);
/* oklch */ color: oklch(70.4% 0.179 317.6);
Tailwind
colors: {
  custom: {
    50: '#dea1ef',
    500: '#cc77e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc77e7;
$custom-light: #dea1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77e7",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 285.536,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.17854,
    "h": 317.6
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#CC77E7
secondary
#D4EECC
accent
#D21441
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC77E7

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

Preview Lab → · Contrast checker → · Palette generator →

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