#C778ED#C778ED

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

Color values

HEX#C778ED
RGBrgb(199, 120, 237)
HSLhsl(281, 76%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(16%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.09, 50.40, -46.94)
CIE-LCHlch(63.09, 68.88, 317.03°)
OKLaboklab(70.27% 0.1253 -0.1307)
OKLCHoklch(70.27% 0.181 313.8)
XYZxyz(45.5532, 31.6906, 83.8216)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778ED #9EED78
analogous
#8D78ED #C778ED #ED78D8
triadic
#C778ED #EDC778 #78EDC7
tetradic
#C778ED #ED8D78 #9EED78 #78D8ED
square
#C778ED #ED8D78 #9EED78 #78D8ED
split-complementary
#C778ED #D8ED78 #78ED8D
monochromatic
#951CCF #B142E6 #C778ED #DDAEF4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.34
#C778ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778ED
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778ED#FFFFFF#000000##000000
##C778ED1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#C48AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c778ed;
/* rgb */ color: rgb(199, 120, 237);
/* oklch */ color: oklch(70.3% 0.181 313.8);
Tailwind
colors: {
  custom: {
    50: '#daa1f3',
    500: '#c778ed',
    950: '#000000',
  },
}
SCSS
$custom: #c778ed;
$custom-light: #daa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ed",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 280.513,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.18108,
    "h": 313.8
  },
  "luminance": 0.31689
}

Semantic roles & 50–950 ramp

primary
#C778ED
secondary
#DBF1D0
accent
#D90D4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778ED

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

Preview Lab → · Contrast checker → · Palette generator →

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