#CC77CC#CC77CC

#CC77CC is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.152 H 327.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CC77CC
RGBrgb(204, 119, 204)
HSLhsl(300, 45%, 63%)
HSVhsv(300, 42%, 80%)
CMYKcmyk(0%, 41.7%, 0%, 20%)
CIE-LABlab(61.99, 45.86, -30.18)
CIE-LCHlch(61.99, 54.90, 326.65°)
OKLaboklab(69.1% 0.1272 -0.0824)
OKLCHoklch(69.1% 0.152 327.1)
XYZxyz(42.3969, 30.3927, 60.7482)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77CC #77CC77
analogous
#A177CC #CC77CC #CC77A1
triadic
#CC77CC #CCCC77 #77CCCC
tetradic
#CC77CC #CCA177 #77CC77 #77A1CC
square
#CC77CC #CCA177 #77CC77 #77A1CC
split-complementary
#CC77CC #A1CC77 #77CCA1
monochromatic
#923792 #BB4ABB #CC77CC #DDA4DD #EDD0ED

Accessibility & contrast

On white

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

On black

7.08
#CC77CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77CC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77CC#FFFFFF#000000##000000
##CC77CC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FCF
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#D17F98
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc77cc;
/* rgb */ color: rgb(204, 119, 204);
/* oklch */ color: oklch(69.1% 0.152 327.1);
Tailwind
colors: {
  custom: {
    50: '#dda0db',
    500: '#cc77cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc77cc;
$custom-light: #dda0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77cc",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.691,
    "c": 0.15158,
    "h": 327.1
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

primary
#CC77CC
secondary
#C0DFC0
accent
#B92D2D
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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