#C778F7#C778F7

#C778F7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.192 H 311.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C778F7
RGBrgb(199, 120, 247)
HSLhsl(277, 89%, 72%)
HSVhsv(277, 51%, 97%)
CMYKcmyk(19.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.58, 52.51, -51.68)
CIE-LCHlch(63.58, 73.68, 315.46°)
OKLaboklab(70.8% 0.1263 -0.1445)
OKLCHoklch(70.8% 0.192 311.1)
XYZxyz(47.0551, 32.2914, 91.7317)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778F7 #A8F778
analogous
#8878F7 #C778F7 #F778E7
triadic
#C778F7 #F7C778 #78F7C7
tetradic
#C778F7 #F78878 #A8F778 #78E7F7
square
#C778F7 #F78878 #A8F778 #78E7F7
split-complementary
#C778F7 #E7F778 #78F788
monochromatic
#950EE7 #AF3EF4 #C778F7 #DFB2FA #F3E2FD

Accessibility & contrast

On white

2.82
#C778F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C778F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778F7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778F7#FFFFFF#000000##000000
##C778F71.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#C18DAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c778f7;
/* rgb */ color: rgb(199, 120, 247);
/* oklch */ color: oklch(70.8% 0.192 311.1);
Tailwind
colors: {
  custom: {
    50: '#daa1fa',
    500: '#c778f7',
    950: '#000000',
  },
}
SCSS
$custom: #c778f7;
$custom-light: #daa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c778f7",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 277.323,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.708,
    "c": 0.19192,
    "h": 311.1
  },
  "luminance": 0.3229
}

Semantic roles & 50–950 ramp

primary
#C778F7
secondary
#E2F5D5
accent
#E50057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778F7

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

Preview Lab → · Contrast checker → · Palette generator →

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