#CC77DF#CC77DF

#CC77DF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.170 H 320.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CC77DF
RGBrgb(204, 119, 223)
HSLhsl(289, 62%, 67%)
HSVhsv(289, 47%, 87%)
CMYKcmyk(8.5%, 46.6%, 0%, 12.5%)
CIE-LABlab(62.81, 49.47, -39.56)
CIE-LCHlch(62.81, 63.34, 321.35°)
OKLaboklab(69.98% 0.1306 -0.1093)
OKLCHoklch(69.98% 0.17 320.1)
XYZxyz(44.8163, 31.3604, 73.4902)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77DF #8ADF77
analogous
#9877DF #CC77DF #DF77BE
triadic
#CC77DF #DFCC77 #77DFCC
tetradic
#CC77DF #DF9877 #8ADF77 #77BEDF
square
#CC77DF #DF9877 #8ADF77 #77BEDF
split-complementary
#CC77DF #BEDF77 #77DF98
monochromatic
#992AB2 #B945D3 #CC77DF #DFA9EB #F1DAF6

Accessibility & contrast

On white

2.89
#CC77DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CC77DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77DF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77DF#FFFFFF#000000##000000
##CC77DF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#CD85A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc77df;
/* rgb */ color: rgb(204, 119, 223);
/* oklch */ color: oklch(70.0% 0.170 320.1);
Tailwind
colors: {
  custom: {
    50: '#dda1e9',
    500: '#cc77df',
    950: '#000000',
  },
}
SCSS
$custom: #cc77df;
$custom-light: #dda1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77df",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 289.038,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69979,
    "c": 0.17031,
    "h": 320.1
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#CC77DF
secondary
#CEE9C8
accent
#CA1C3C
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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