#CC77DB#CC77DB

#CC77DB is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.8% C 0.166 H 321.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CC77DB
RGBrgb(204, 119, 219)
HSLhsl(291, 58%, 66%)
HSVhsv(291, 46%, 86%)
CMYKcmyk(6.8%, 45.7%, 0%, 14.1%)
CIE-LABlab(62.63, 48.69, -37.60)
CIE-LCHlch(62.63, 61.52, 322.32°)
OKLaboklab(69.79% 0.13 -0.1036)
OKLCHoklch(69.79% 0.166 321.4)
XYZxyz(44.2834, 31.1472, 70.6835)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77DB #86DB77
analogous
#9A77DB #CC77DB #DB77B8
triadic
#CC77DB #DBCC77 #77DBCC
tetradic
#CC77DB #DB9A77 #86DB77 #77B8DB
square
#CC77DB #DB9A77 #86DB77 #77B8DB
split-complementary
#CC77DB #B8DB77 #77DB9A
monochromatic
#982DAA #BA47CE #CC77DB #DEA7E8 #F0D8F5

Accessibility & contrast

On white

2.90
#CC77DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CC77DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77DB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77DB#FFFFFF#000000##000000
##CC77DB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#CE849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc77db;
/* rgb */ color: rgb(204, 119, 219);
/* oklch */ color: oklch(69.8% 0.166 321.4);
Tailwind
colors: {
  custom: {
    50: '#dda1e6',
    500: '#cc77db',
    950: '#000000',
  },
}
SCSS
$custom: #cc77db;
$custom-light: #dda1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77db",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 291,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.16626,
    "h": 321.4
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#CC77DB
secondary
#CBE7C7
accent
#C62039
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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