#C778BF#C778BF

#C778BF is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.1% C 0.134 H 330.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C778BF
RGBrgb(199, 120, 191)
HSLhsl(306, 41%, 63%)
HSVhsv(306, 40%, 78%)
CMYKcmyk(0%, 39.7%, 4%, 22%)
CIE-LABlab(61.08, 41.43, -24.29)
CIE-LCHlch(61.08, 48.03, 329.62°)
OKLaboklab(68.12% 0.117 -0.0658)
OKLCHoklch(68.12% 0.134 330.6)
XYZxyz(39.6731, 29.3386, 52.8533)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778BF #78C780
analogous
#A778C7 #C778BF #C77897
triadic
#C778BF #BFC778 #78BFC7
tetradic
#C778BF #C7A778 #78C780 #7897C7
square
#C778BF #C7A778 #78C780 #7897C7
split-complementary
#C778BF #97C778 #78C7A7
monochromatic
#8B3A83 #B54DAA #C778BF #D9A3D4 #EBCFE8

Accessibility & contrast

On white

3.06
#C778BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C778BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778BF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778BF#FFFFFF#000000##000000
##C778BF1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#758DC2
Deuteranopia (green-blind)
#8A97BD
Tritanopia (blue-blind)
#CD7E93
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c778bf;
/* rgb */ color: rgb(199, 120, 191);
/* oklch */ color: oklch(68.1% 0.134 330.6);
Tailwind
colors: {
  custom: {
    50: '#d9a1d2',
    500: '#c778bf',
    950: '#000000',
  },
}
SCSS
$custom: #c778bf;
$custom-light: #d9a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c778bf",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 306.076,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68115,
    "c": 0.13427,
    "h": 330.6
  },
  "luminance": 0.29337
}

Semantic roles & 50–950 ramp

primary
#C778BF
secondary
#BFDCC2
accent
#B43E31
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C778BF

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

Preview Lab → · Contrast checker → · Palette generator →

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