#C778C2#C778C2

#C778C2 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.2% C 0.137 H 329.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#C778C2
RGBrgb(199, 120, 194)
HSLhsl(304, 41%, 63%)
HSVhsv(304, 40%, 78%)
CMYKcmyk(0%, 39.7%, 2.5%, 22%)
CIE-LABlab(61.20, 41.97, -25.81)
CIE-LCHlch(61.20, 49.27, 328.42°)
OKLaboklab(68.24% 0.1178 -0.0701)
OKLCHoklch(68.24% 0.137 329.2)
XYZxyz(40.0067, 29.4720, 54.6098)
Luminance0.2947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778C2 #78C77D
analogous
#A478C7 #C778C2 #C7789B
triadic
#C778C2 #C2C778 #78C2C7
tetradic
#C778C2 #C7A478 #78C77D #789BC7
square
#C778C2 #C7A478 #78C77D #789BC7
split-complementary
#C778C2 #9BC778 #78C7A4
monochromatic
#8B3A86 #B54DAE #C778C2 #D9A3D6 #EBCFE9

Accessibility & contrast

On white

3.05
#C778C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#C778C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778C2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778C2#FFFFFF#000000##000000
##C778C21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#8998BF
Tritanopia (blue-blind)
#CC7E94
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c778c2;
/* rgb */ color: rgb(199, 120, 194);
/* oklch */ color: oklch(68.2% 0.137 329.2);
Tailwind
colors: {
  custom: {
    50: '#d9a1d4',
    500: '#c778c2',
    950: '#000000',
  },
}
SCSS
$custom: #c778c2;
$custom-light: #d9a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c778c2",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 303.797,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68241,
    "c": 0.13705,
    "h": 329.2
  },
  "luminance": 0.2947
}

Semantic roles & 50–950 ramp

primary
#C778C2
secondary
#BFDCC1
accent
#B43931
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F14
muted
#837F83

Preview Lab

Preview with #C778C2

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

Preview Lab → · Contrast checker → · Palette generator →

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