#CC77D8#CC77D8

#CC77D8 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.6% C 0.163 H 322.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC77D8
RGBrgb(204, 119, 216)
HSLhsl(293, 55%, 66%)
HSVhsv(293, 45%, 85%)
CMYKcmyk(5.6%, 44.9%, 0%, 15.3%)
CIE-LABlab(62.50, 48.11, -36.13)
CIE-LCHlch(62.50, 60.17, 323.10°)
OKLaboklab(69.65% 0.1295 -0.0994)
OKLCHoklch(69.65% 0.163 322.5)
XYZxyz(43.8920, 30.9907, 68.6222)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77D8 #83D877
analogous
#9B77D8 #CC77D8 #D877B4
triadic
#CC77D8 #D8CC77 #77D8CC
tetradic
#CC77D8 #D89B77 #83D877 #77B4D8
square
#CC77D8 #D89B77 #83D877 #77B4D8
split-complementary
#CC77D8 #B4D877 #77D89B
monochromatic
#972FA5 #BA47CA #CC77D8 #DEA7E6 #F0D6F3

Accessibility & contrast

On white

2.92
#CC77D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC77D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77D8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77D8#FFFFFF#000000##000000
##CC77D81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#829BD5
Tritanopia (blue-blind)
#CF839D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc77d8;
/* rgb */ color: rgb(204, 119, 216);
/* oklch */ color: oklch(69.6% 0.163 322.5);
Tailwind
colors: {
  custom: {
    50: '#dda0e4',
    500: '#cc77d8',
    950: '#000000',
  },
}
SCSS
$custom: #cc77d8;
$custom-light: #dda0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77d8",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 216
  },
  "hsl": {
    "h": 292.577,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.16326,
    "h": 322.5
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#CC77D8
secondary
#C9E6C5
accent
#C32336
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CC77D8

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

Preview Lab → · Contrast checker → · Palette generator →

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