#CC77CE#CC77CE

#CC77CE is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.2% C 0.153 H 326.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CC77CE
RGBrgb(204, 119, 206)
HSLhsl(299, 47%, 64%)
HSVhsv(299, 42%, 81%)
CMYKcmyk(1%, 42.2%, 0%, 19.2%)
CIE-LABlab(62.07, 46.23, -31.18)
CIE-LCHlch(62.07, 55.76, 326.01°)
OKLaboklab(69.19% 0.1276 -0.0853)
OKLCHoklch(69.19% 0.153 326.3)
XYZxyz(42.6384, 30.4892, 62.0196)
Luminance0.3049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77CE #79CE77
analogous
#A077CE #CC77CE #CE77A4
triadic
#CC77CE #CECC77 #77CECC
tetradic
#CC77CE #CEA077 #79CE77 #77A4CE
square
#CC77CE #CEA077 #79CE77 #77A4CE
split-complementary
#CC77CE #A4CE77 #77CEA0
monochromatic
#933695 #BB4ABE #CC77CE #DDA4DE #EED1EE

Accessibility & contrast

On white

2.96
#CC77CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CC77CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77CE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77CE#FFFFFF#000000##000000
##CC77CE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD1
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#D08099
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc77ce;
/* rgb */ color: rgb(204, 119, 206);
/* oklch */ color: oklch(69.2% 0.153 326.3);
Tailwind
colors: {
  custom: {
    50: '#dda0dd',
    500: '#cc77ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ce;
$custom-light: #dda0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ce",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 298.621,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69188,
    "c": 0.15348,
    "h": 326.3
  },
  "luminance": 0.30487
}

Semantic roles & 50–950 ramp

primary
#CC77CE
secondary
#C2E0C1
accent
#BA2B2F
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC77CE

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

Preview Lab → · Contrast checker → · Palette generator →

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