#CC77CA#CC77CA

#CC77CA is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.0% C 0.150 H 327.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CC77CA
RGBrgb(204, 119, 202)
HSLhsl(301, 45%, 63%)
HSVhsv(301, 42%, 80%)
CMYKcmyk(0%, 41.7%, 1%, 20%)
CIE-LABlab(61.91, 45.50, -29.18)
CIE-LCHlch(61.91, 54.05, 327.33°)
OKLaboklab(69.01% 0.1268 -0.0796)
OKLCHoklch(69.01% 0.15 327.9)
XYZxyz(42.1586, 30.2973, 59.4930)
Luminance0.3029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77CA #77CC79
analogous
#A377CC #CC77CA #CC779F
triadic
#CC77CA #CACC77 #77CACC
tetradic
#CC77CA #CCA377 #77CC79 #779FCC
square
#CC77CA #CCA377 #77CC79 #779FCC
split-complementary
#CC77CA #9FCC77 #77CCA3
monochromatic
#923790 #BB4AB9 #CC77CA #DDA4DB #EDD0ED

Accessibility & contrast

On white

2.97
#CC77CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CC77CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77CA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77CA#FFFFFF#000000##000000
##CC77CA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCD
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#D17F97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc77ca;
/* rgb */ color: rgb(204, 119, 202);
/* oklch */ color: oklch(69.0% 0.150 327.9);
Tailwind
colors: {
  custom: {
    50: '#dda0da',
    500: '#cc77ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ca;
$custom-light: #dda0da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ca",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 301.412,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69012,
    "c": 0.14968,
    "h": 327.9
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#CC77CA
secondary
#C0DFC1
accent
#B9302D
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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