#C778BE#C778BE

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

Color values

HEX#C778BE
RGBrgb(199, 120, 190)
HSLhsl(307, 41%, 63%)
HSVhsv(307, 40%, 78%)
CMYKcmyk(0%, 39.7%, 4.5%, 22%)
CIE-LABlab(61.04, 41.25, -23.78)
CIE-LCHlch(61.04, 47.62, 330.04°)
OKLaboklab(68.07% 0.1168 -0.0644)
OKLCHoklch(68.07% 0.133 331.1)
XYZxyz(39.5635, 29.2947, 52.2757)
Luminance0.2929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778BE #78C781
analogous
#A878C7 #C778BE #C77897
triadic
#C778BE #BEC778 #78BEC7
tetradic
#C778BE #C7A878 #78C781 #7897C7
square
#C778BE #C7A878 #78C781 #7897C7
split-complementary
#C778BE #97C778 #78C7A8
monochromatic
#8B3A82 #B54DA9 #C778BE #D9A3D3 #EBCFE8

Accessibility & contrast

On white

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

On black

6.86
#C778BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778BE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778BE#FFFFFF#000000##000000
##C778BE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC1
Deuteranopia (green-blind)
#8A97BC
Tritanopia (blue-blind)
#CD7D92
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c778be;
/* rgb */ color: rgb(199, 120, 190);
/* oklch */ color: oklch(68.1% 0.133 331.1);
Tailwind
colors: {
  custom: {
    50: '#d9a1d1',
    500: '#c778be',
    950: '#000000',
  },
}
SCSS
$custom: #c778be;
$custom-light: #d9a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c778be",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 306.835,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68074,
    "c": 0.13335,
    "h": 331.1
  },
  "luminance": 0.29293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C778BE

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

Preview Lab → · Contrast checker → · Palette generator →

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