#C778DA#C778DA

#C778DA is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.3% C 0.161 H 319.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C778DA
RGBrgb(199, 120, 218)
HSLhsl(288, 57%, 66%)
HSVhsv(288, 45%, 85%)
CMYKcmyk(8.7%, 45%, 0%, 14.5%)
CIE-LABlab(62.20, 46.53, -37.76)
CIE-LCHlch(62.20, 59.93, 320.94°)
OKLaboklab(69.32% 0.1226 -0.1042)
OKLCHoklch(69.32% 0.161 319.6)
XYZxyz(42.9229, 30.6385, 69.9689)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DA #8BDA78
analogous
#9678DA #C778DA #DA78BC
triadic
#C778DA #DAC778 #78DAC7
tetradic
#C778DA #DA9678 #8BDA78 #78BCDA
square
#C778DA #DA9678 #8BDA78 #78BCDA
split-complementary
#C778DA #BCDA78 #78DA96
monochromatic
#912EA9 #B348CD #C778DA #DBA8E7 #EFD8F4

Accessibility & contrast

On white

2.95
#C778DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C778DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DA#FFFFFF#000000##000000
##C778DA1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#7F99D7
Tritanopia (blue-blind)
#C8859F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c778da;
/* rgb */ color: rgb(199, 120, 218);
/* oklch */ color: oklch(69.3% 0.161 319.6);
Tailwind
colors: {
  custom: {
    50: '#daa1e6',
    500: '#c778da',
    950: '#000000',
  },
}
SCSS
$custom: #c778da;
$custom-light: #daa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c778da",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 288.367,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.16091,
    "h": 319.6
  },
  "luminance": 0.30637
}

Semantic roles & 50–950 ramp

primary
#C778DA
secondary
#CDE7C7
accent
#C52141
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DA

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

Preview Lab → · Contrast checker → · Palette generator →

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