#C778CC#C778CC

#C778CC is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.7% C 0.147 H 324.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C778CC
RGBrgb(199, 120, 204)
HSLhsl(296, 45%, 64%)
HSVhsv(296, 41%, 80%)
CMYKcmyk(2.5%, 41.2%, 0%, 20%)
CIE-LABlab(61.60, 43.83, -30.83)
CIE-LCHlch(61.60, 53.59, 324.87°)
OKLaboklab(68.68% 0.12 -0.0844)
OKLCHoklch(68.68% 0.147 324.9)
XYZxyz(41.1677, 29.9364, 60.7248)
Luminance0.2994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778CC #7DCC78
analogous
#9D78CC #C778CC #CC78A7
triadic
#C778CC #CCC778 #78CCC7
tetradic
#C778CC #CC9D78 #7DCC78 #78A7CC
square
#C778CC #CC9D78 #7DCC78 #78A7CC
split-complementary
#C778CC #A7CC78 #78CC9D
monochromatic
#8D3792 #B54CBB #C778CC #D9A4DD #ECD1EE

Accessibility & contrast

On white

3.01
#C778CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C778CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778CC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778CC#FFFFFF#000000##000000
##C778CC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FCF
Deuteranopia (green-blind)
#8598C9
Tritanopia (blue-blind)
#CB8198
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c778cc;
/* rgb */ color: rgb(199, 120, 204);
/* oklch */ color: oklch(68.7% 0.147 324.9);
Tailwind
colors: {
  custom: {
    50: '#d9a1db',
    500: '#c778cc',
    950: '#000000',
  },
}
SCSS
$custom: #c778cc;
$custom-light: #d9a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#c778cc",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 296.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68677,
    "c": 0.14668,
    "h": 324.9
  },
  "luminance": 0.29935
}

Semantic roles & 50–950 ramp

primary
#C778CC
secondary
#C3DFC1
accent
#B82D35
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C778CC

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

Preview Lab → · Contrast checker → · Palette generator →

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