#C778DE#C778DE

#C778DE is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.165 H 318.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C778DE
RGBrgb(199, 120, 222)
HSLhsl(286, 61%, 67%)
HSVhsv(286, 46%, 87%)
CMYKcmyk(10.4%, 45.9%, 0%, 12.9%)
CIE-LABlab(62.38, 47.33, -39.71)
CIE-LCHlch(62.38, 61.78, 320.00°)
OKLaboklab(69.52% 0.1233 -0.1098)
OKLCHoklch(69.52% 0.165 318.3)
XYZxyz(43.4527, 30.8504, 72.7589)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DE #8FDE78
analogous
#9478DE #C778DE #DE78C2
triadic
#C778DE #DEC778 #78DEC7
tetradic
#C778DE #DE9478 #8FDE78 #78C2DE
square
#C778DE #DE9478 #8FDE78 #78C2DE
split-complementary
#C778DE #C2DE78 #78DE94
monochromatic
#922BB0 #B347D2 #C778DE #DBA9EA #F0DAF6

Accessibility & contrast

On white

2.93
#C778DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C778DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DE#FFFFFF#000000##000000
##C778DE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E2
Deuteranopia (green-blind)
#7D9ADB
Tritanopia (blue-blind)
#C786A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c778de;
/* rgb */ color: rgb(199, 120, 222);
/* oklch */ color: oklch(69.5% 0.165 318.3);
Tailwind
colors: {
  custom: {
    50: '#daa1e8',
    500: '#c778de',
    950: '#000000',
  },
}
SCSS
$custom: #c778de;
$custom-light: #daa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c778de",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 286.471,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69517,
    "c": 0.16509,
    "h": 318.3
  },
  "luminance": 0.30849
}

Semantic roles & 50–950 ramp

primary
#C778DE
secondary
#D0E9C9
accent
#C81D44
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DE

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

Preview Lab → · Contrast checker → · Palette generator →

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