#C778DC#C778DC

#C778DC is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.4% C 0.163 H 319.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C778DC
RGBrgb(199, 120, 220)
HSLhsl(287, 59%, 67%)
HSVhsv(287, 45%, 86%)
CMYKcmyk(9.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(62.29, 46.93, -38.74)
CIE-LCHlch(62.29, 60.85, 320.46°)
OKLaboklab(69.42% 0.1229 -0.107)
OKLCHoklch(69.42% 0.163 319)
XYZxyz(43.1862, 30.7438, 71.3555)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DC #8DDC78
analogous
#9578DC #C778DC #DC78BF
triadic
#C778DC #DCC778 #78DCC7
tetradic
#C778DC #DC9578 #8DDC78 #78BFDC
square
#C778DC #DC9578 #8DDC78 #78BFDC
split-complementary
#C778DC #BFDC78 #78DC95
monochromatic
#922DAD #B347CF #C778DC #DBA9E9 #EFD9F5

Accessibility & contrast

On white

2.94
#C778DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C778DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DC#FFFFFF#000000##000000
##C778DC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#C885A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c778dc;
/* rgb */ color: rgb(199, 120, 220);
/* oklch */ color: oklch(69.4% 0.163 319.0);
Tailwind
colors: {
  custom: {
    50: '#daa1e7',
    500: '#c778dc',
    950: '#000000',
  },
}
SCSS
$custom: #c778dc;
$custom-light: #daa1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c778dc",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 287.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6942,
    "c": 0.163,
    "h": 319
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#C778DC
secondary
#CFE8C8
accent
#C61F42
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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