#C778DF#C778DF

#C778DF is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.6% C 0.166 H 318.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C778DF
RGBrgb(199, 120, 223)
HSLhsl(286, 62%, 67%)
HSVhsv(286, 46%, 87%)
CMYKcmyk(10.8%, 46.2%, 0%, 12.5%)
CIE-LABlab(62.43, 47.53, -40.20)
CIE-LCHlch(62.43, 62.25, 319.78°)
OKLaboklab(69.57% 0.1234 -0.1112)
OKLCHoklch(69.57% 0.166 318)
XYZxyz(43.5871, 30.9042, 73.4668)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DF #90DF78
analogous
#9378DF #C778DF #DF78C4
triadic
#C778DF #DFC778 #78DFC7
tetradic
#C778DF #DF9378 #90DF78 #78C4DF
square
#C778DF #DF9378 #90DF78 #78C4DF
split-complementary
#C778DF #C4DF78 #78DF93
monochromatic
#932AB2 #B247D3 #C778DF #DCA9EB #F0DBF6

Accessibility & contrast

On white

2.92
#C778DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C778DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DF#FFFFFF#000000##000000
##C778DF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E3
Deuteranopia (green-blind)
#7C9ADC
Tritanopia (blue-blind)
#C786A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c778df;
/* rgb */ color: rgb(199, 120, 223);
/* oklch */ color: oklch(69.6% 0.166 318.0);
Tailwind
colors: {
  custom: {
    50: '#daa1e9',
    500: '#c778df',
    950: '#000000',
  },
}
SCSS
$custom: #c778df;
$custom-light: #daa1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c778df",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 286.019,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.16615,
    "h": 318
  },
  "luminance": 0.30903
}

Semantic roles & 50–950 ramp

primary
#C778DF
secondary
#D1EAC9
accent
#C91C44
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DF

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

Preview Lab → · Contrast checker → · Palette generator →

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