#C778CB#C778CB

#C778CB is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.6% C 0.146 H 325.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C778CB
RGBrgb(199, 120, 203)
HSLhsl(297, 44%, 63%)
HSVhsv(297, 41%, 80%)
CMYKcmyk(2%, 40.9%, 0%, 20.4%)
CIE-LABlab(61.56, 43.64, -30.33)
CIE-LCHlch(61.56, 53.15, 325.19°)
OKLaboklab(68.63% 0.1198 -0.083)
OKLCHoklch(68.63% 0.146 325.3)
XYZxyz(41.0482, 29.8886, 60.0952)
Luminance0.2989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778CB #7CCB78
analogous
#9D78CB #C778CB #CB78A5
triadic
#C778CB #CBC778 #78CBC7
tetradic
#C778CB #CB9D78 #7CCB78 #78A5CB
square
#C778CB #CB9D78 #7CCB78 #78A5CB
split-complementary
#C778CB #A5CB78 #78CB9D
monochromatic
#8D3891 #B54CBA #C778CB #D9A4DC #ECD0ED

Accessibility & contrast

On white

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

On black

6.98
#C778CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778CB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778CB#FFFFFF#000000##000000
##C778CB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c778cb;
/* rgb */ color: rgb(199, 120, 203);
/* oklch */ color: oklch(68.6% 0.146 325.3);
Tailwind
colors: {
  custom: {
    50: '#d9a1db',
    500: '#c778cb',
    950: '#000000',
  },
}
SCSS
$custom: #c778cb;
$custom-light: #d9a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#c778cb",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 297.108,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68632,
    "c": 0.1457,
    "h": 325.3
  },
  "luminance": 0.29887
}

Semantic roles & 50–950 ramp

primary
#C778CB
secondary
#C2DEC1
accent
#B82E35
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C778CB

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

Preview Lab → · Contrast checker → · Palette generator →

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