#C778F6#C778F6

#C778F6 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.191 H 311.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#C778F6
RGBrgb(199, 120, 246)
HSLhsl(278, 88%, 72%)
HSVhsv(278, 51%, 96%)
CMYKcmyk(19.1%, 51.2%, 0%, 3.5%)
CIE-LABlab(63.53, 52.30, -51.21)
CIE-LCHlch(63.53, 73.20, 315.60°)
OKLaboklab(70.75% 0.1262 -0.1432)
OKLCHoklch(70.75% 0.191 311.4)
XYZxyz(46.9012, 32.2298, 90.9212)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778F6 #A7F678
analogous
#8878F6 #C778F6 #F678E6
triadic
#C778F6 #F6C778 #78F6C7
tetradic
#C778F6 #F68878 #A7F678 #78E6F6
square
#C778F6 #F68878 #A7F678 #78E6F6
split-complementary
#C778F6 #E6F678 #78F688
monochromatic
#950FE4 #AF3FF2 #C778F6 #DFB1FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.45
#C778F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778F6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778F6#FFFFFF#000000##000000
##C778F61.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#709BF3
Tritanopia (blue-blind)
#C28DAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c778f6;
/* rgb */ color: rgb(199, 120, 246);
/* oklch */ color: oklch(70.7% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#daa1fa',
    500: '#c778f6',
    950: '#000000',
  },
}
SCSS
$custom: #c778f6;
$custom-light: #daa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c778f6",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 277.619,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.19084,
    "h": 311.4
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#C778F6
secondary
#E1F5D5
accent
#E40156
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778F6

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

Preview Lab → · Contrast checker → · Palette generator →

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