#C778FB#C778FB

#C778FB is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.196 H 310.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C778FB
RGBrgb(199, 120, 251)
HSLhsl(276, 94%, 73%)
HSVhsv(276, 52%, 98%)
CMYKcmyk(20.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(63.79, 53.37, -53.56)
CIE-LCHlch(63.79, 75.61, 314.90°)
OKLaboklab(71.02% 0.1266 -0.15)
OKLCHoklch(71.02% 0.196 310.2)
XYZxyz(47.6790, 32.5409, 95.0174)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778FB #ACFB78
analogous
#8578FB #C778FB #FB78EE
triadic
#C778FB #FBC778 #78FBC7
tetradic
#C778FB #FB8578 #ACFB78 #78EEFB
square
#C778FB #FB8578 #ACFB78 #78EEFB
split-complementary
#C778FB #EEFB78 #78FB85
monochromatic
#9407F1 #AE3DF9 #C778FB #E0B3FD #F3E1FE

Accessibility & contrast

On white

2.80
#C778FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C778FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778FB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778FB#FFFFFF#000000##000000
##C778FB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#C08EAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c778fb;
/* rgb */ color: rgb(199, 120, 251);
/* oklch */ color: oklch(71.0% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#dba1fd',
    500: '#c778fb',
    950: '#000000',
  },
}
SCSS
$custom: #c778fb;
$custom-light: #dba1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c778fb",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 276.183,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.19628,
    "h": 310.2
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#C778FB
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C778FB

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

Preview Lab → · Contrast checker → · Palette generator →

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