#CC77CB#CC77CB

#CC77CB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.1% C 0.151 H 327.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC77CB
RGBrgb(204, 119, 203)
HSLhsl(301, 45%, 63%)
HSVhsv(301, 42%, 80%)
CMYKcmyk(0%, 41.7%, 0.5%, 20%)
CIE-LABlab(61.95, 45.68, -29.68)
CIE-LCHlch(61.95, 54.48, 326.99°)
OKLaboklab(69.06% 0.127 -0.081)
OKLCHoklch(69.06% 0.151 327.5)
XYZxyz(42.2774, 30.3448, 60.1186)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77CB #77CC78
analogous
#A277CC #CC77CB #CC77A0
triadic
#CC77CB #CBCC77 #77CBCC
tetradic
#CC77CB #CCA277 #77CC78 #77A0CC
square
#CC77CB #CCA277 #77CC78 #77A0CC
split-complementary
#CC77CB #A0CC77 #77CCA2
monochromatic
#923791 #BB4ABA #CC77CB #DDA4DC #EDD0ED

Accessibility & contrast

On white

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

On black

7.07
#CC77CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77CB#FFFFFF#000000##000000
##CC77CB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#D17F98
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc77cb;
/* rgb */ color: rgb(204, 119, 203);
/* oklch */ color: oklch(69.1% 0.151 327.5);
Tailwind
colors: {
  custom: {
    50: '#dda0db',
    500: '#cc77cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc77cb;
$custom-light: #dda0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77cb",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 300.706,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69055,
    "c": 0.15062,
    "h": 327.5
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

primary
#CC77CB
secondary
#C0DFC1
accent
#B92F2D
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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