#C778CA#C778CA

#C778CA is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.6% C 0.145 H 325.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C778CA
RGBrgb(199, 120, 202)
HSLhsl(298, 44%, 63%)
HSVhsv(298, 41%, 79%)
CMYKcmyk(1.5%, 40.6%, 0%, 20.8%)
CIE-LABlab(61.52, 43.45, -29.83)
CIE-LCHlch(61.52, 52.71, 325.53°)
OKLaboklab(68.59% 0.1196 -0.0815)
OKLCHoklch(68.59% 0.145 325.7)
XYZxyz(40.9294, 29.8411, 59.4696)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778CA #7BCA78
analogous
#9E78CA #C778CA #CA78A4
triadic
#C778CA #CAC778 #78CAC7
tetradic
#C778CA #CA9E78 #7BCA78 #78A4CA
square
#C778CA #CA9E78 #7BCA78 #78A4CA
split-complementary
#C778CA #A4CA78 #78CA9E
monochromatic
#8C388F #B54CB9 #C778CA #D9A4DB #EBD0ED

Accessibility & contrast

On white

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

On black

6.97
#C778CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C778CA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778CA#FFFFFF#000000##000000
##C778CA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECD
Deuteranopia (green-blind)
#8698C7
Tritanopia (blue-blind)
#CB8098
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c778ca;
/* rgb */ color: rgb(199, 120, 202);
/* oklch */ color: oklch(68.6% 0.145 325.7);
Tailwind
colors: {
  custom: {
    50: '#d9a1da',
    500: '#c778ca',
    950: '#000000',
  },
}
SCSS
$custom: #c778ca;
$custom-light: #d9a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ca",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 297.805,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.14471,
    "h": 325.7
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#C778CA
secondary
#C1DEC0
accent
#B72F34
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C778CA

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

Preview Lab → · Contrast checker → · Palette generator →

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