#C778F8#C778F8

#C778F8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.193 H 310.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C778F8
RGBrgb(199, 120, 248)
HSLhsl(277, 90%, 72%)
HSVhsv(277, 52%, 97%)
CMYKcmyk(19.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(63.63, 52.73, -52.15)
CIE-LCHlch(63.63, 74.16, 315.31°)
OKLaboklab(70.85% 0.1264 -0.1459)
OKLCHoklch(70.85% 0.193 310.9)
XYZxyz(47.2098, 32.3533, 92.5466)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778F8 #A9F878
analogous
#8778F8 #C778F8 #F878E9
triadic
#C778F8 #F8C778 #78F8C7
tetradic
#C778F8 #F88778 #A9F878 #78E9F8
square
#C778F8 #F88778 #A9F878 #78E9F8
split-complementary
#C778F8 #E9F878 #78F887
monochromatic
#950CE9 #AF3EF5 #C778F8 #DFB2FB #F3E2FD

Accessibility & contrast

On white

2.81
#C778F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C778F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778F8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778F8#FFFFFF#000000##000000
##C778F81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#C18EAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c778f8;
/* rgb */ color: rgb(199, 120, 248);
/* oklch */ color: oklch(70.9% 0.193 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba1fb',
    500: '#c778f8',
    950: '#000000',
  },
}
SCSS
$custom: #c778f8;
$custom-light: #dba1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c778f8",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 277.031,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70854,
    "c": 0.19301,
    "h": 310.9
  },
  "luminance": 0.32352
}

Semantic roles & 50–950 ramp

primary
#C778F8
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778F8

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

Preview Lab → · Contrast checker → · Palette generator →

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