#C778EB#C778EB

#C778EB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.2% C 0.179 H 314.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C778EB
RGBrgb(199, 120, 235)
HSLhsl(281, 74%, 70%)
HSVhsv(281, 49%, 92%)
CMYKcmyk(15.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(62.99, 49.98, -45.99)
CIE-LCHlch(62.99, 67.92, 317.38°)
OKLaboklab(70.17% 0.1251 -0.128)
OKLCHoklch(70.17% 0.179 314.3)
XYZxyz(45.2626, 31.5744, 82.2913)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778EB #9CEB78
analogous
#8D78EB #C778EB #EB78D6
triadic
#C778EB #EBC778 #78EBC7
tetradic
#C778EB #EB8D78 #9CEB78 #78D6EB
square
#C778EB #EB8D78 #9CEB78 #78D6EB
split-complementary
#C778EB #D6EB78 #78EB8D
monochromatic
#951ECB #B143E3 #C778EB #DDADF3 #F3E3FB

Accessibility & contrast

On white

2.87
#C778EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#C778EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778EB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778EB#FFFFFF#000000##000000
##C778EB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#769BE8
Tritanopia (blue-blind)
#C48AA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c778eb;
/* rgb */ color: rgb(199, 120, 235);
/* oklch */ color: oklch(70.2% 0.179 314.3);
Tailwind
colors: {
  custom: {
    50: '#daa1f2',
    500: '#c778eb',
    950: '#000000',
  },
}
SCSS
$custom: #c778eb;
$custom-light: #daa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c778eb",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 281.217,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70168,
    "c": 0.17893,
    "h": 314.3
  },
  "luminance": 0.31573
}

Semantic roles & 50–950 ramp

primary
#C778EB
secondary
#D9F0CF
accent
#D60F4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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