#C778EC#C778EC

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

Color values

HEX#C778EC
RGBrgb(199, 120, 236)
HSLhsl(281, 75%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.7%, 49.2%, 0%, 7.5%)
CIE-LABlab(63.04, 50.19, -46.47)
CIE-LCHlch(63.04, 68.40, 317.21°)
OKLaboklab(70.22% 0.1252 -0.1294)
OKLCHoklch(70.22% 0.18 314.1)
XYZxyz(45.4075, 31.6324, 83.0543)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778EC #9DEC78
analogous
#8D78EC #C778EC #EC78D7
triadic
#C778EC #ECC778 #78ECC7
tetradic
#C778EC #EC8D78 #9DEC78 #78D7EC
square
#C778EC #EC8D78 #9DEC78 #78D7EC
split-complementary
#C778EC #D7EC78 #78EC8D
monochromatic
#951DCD #B142E4 #C778EC #DDAEF4 #F4E3FB

Accessibility & contrast

On white

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

On black

7.33
#C778EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778EC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778EC#FFFFFF#000000##000000
##C778EC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#C48AA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c778ec;
/* rgb */ color: rgb(199, 120, 236);
/* oklch */ color: oklch(70.2% 0.180 314.1);
Tailwind
colors: {
  custom: {
    50: '#daa1f2',
    500: '#c778ec',
    950: '#000000',
  },
}
SCSS
$custom: #c778ec;
$custom-light: #daa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ec",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 280.862,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.18001,
    "h": 314.1
  },
  "luminance": 0.31631
}

Semantic roles & 50–950 ramp

primary
#C778EC
secondary
#DAF0D0
accent
#D70E4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778EC

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

Preview Lab → · Contrast checker → · Palette generator →

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