#C778EA#C778EA

#C778EA is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.178 H 314.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C778EA
RGBrgb(199, 120, 234)
HSLhsl(282, 73%, 69%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(15%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.94, 49.77, -45.51)
CIE-LCHlch(62.94, 67.44, 317.56°)
OKLaboklab(70.12% 0.1249 -0.1266)
OKLCHoklch(70.12% 0.178 314.6)
XYZxyz(45.1186, 31.5168, 81.5325)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778EA #9BEA78
analogous
#8E78EA #C778EA #EA78D4
triadic
#C778EA #EAC778 #78EAC7
tetradic
#C778EA #EA8E78 #9BEA78 #78D4EA
square
#C778EA #EA8E78 #9BEA78 #78D4EA
split-complementary
#C778EA #D4EA78 #78EA8E
monochromatic
#941FC8 #B143E2 #C778EA #DDADF2 #F3E2FA

Accessibility & contrast

On white

2.88
#C778EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C778EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778EA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778EA#FFFFFF#000000##000000
##C778EA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#779AE7
Tritanopia (blue-blind)
#C589A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c778ea;
/* rgb */ color: rgb(199, 120, 234);
/* oklch */ color: oklch(70.1% 0.178 314.6);
Tailwind
colors: {
  custom: {
    50: '#daa1f1',
    500: '#c778ea',
    950: '#000000',
  },
}
SCSS
$custom: #c778ea;
$custom-light: #daa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ea",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 281.579,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70116,
    "c": 0.17786,
    "h": 314.6
  },
  "luminance": 0.31516
}

Semantic roles & 50–950 ramp

primary
#C778EA
secondary
#D9EFCE
accent
#D5104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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