#C778EE#C778EE

#C778EE is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.182 H 313.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C778EE
RGBrgb(199, 120, 238)
HSLhsl(280, 78%, 70%)
HSVhsv(280, 50%, 93%)
CMYKcmyk(16.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.14, 50.61, -47.42)
CIE-LCHlch(63.14, 69.35, 316.86°)
OKLaboklab(70.32% 0.1254 -0.1321)
OKLCHoklch(70.32% 0.182 313.5)
XYZxyz(45.6997, 31.7492, 84.5932)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778EE #9FEE78
analogous
#8C78EE #C778EE #EE78DA
triadic
#C778EE #EEC778 #78EEC7
tetradic
#C778EE #EE8C78 #9FEE78 #78DAEE
square
#C778EE #EE8C78 #9FEE78 #78DAEE
split-complementary
#C778EE #DAEE78 #78EE8C
monochromatic
#951AD1 #B042E7 #C778EE #DEAEF5 #F4E4FC

Accessibility & contrast

On white

2.86
#C778EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#C778EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778EE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778EE#FFFFFF#000000##000000
##C778EE1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#C48BA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c778ee;
/* rgb */ color: rgb(199, 120, 238);
/* oklch */ color: oklch(70.3% 0.182 313.5);
Tailwind
colors: {
  custom: {
    50: '#daa1f4',
    500: '#c778ee',
    950: '#000000',
  },
}
SCSS
$custom: #c778ee;
$custom-light: #daa1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ee",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 280.169,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.18216,
    "h": 313.5
  },
  "luminance": 0.31748
}

Semantic roles & 50–950 ramp

primary
#C778EE
secondary
#DBF1D1
accent
#DA0C50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778EE

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

Preview Lab → · Contrast checker → · Palette generator →

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