#C778E1#C778E1

#C778E1 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.7% C 0.168 H 317.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C778E1
RGBrgb(199, 120, 225)
HSLhsl(285, 64%, 68%)
HSVhsv(285, 47%, 88%)
CMYKcmyk(11.6%, 46.7%, 0%, 11.8%)
CIE-LABlab(62.52, 47.93, -41.17)
CIE-LCHlch(62.52, 63.19, 319.34°)
OKLaboklab(69.66% 0.1237 -0.114)
OKLCHoklch(69.66% 0.168 317.3)
XYZxyz(43.8583, 31.0127, 74.8953)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778E1 #92E178
analogous
#9378E1 #C778E1 #E178C6
triadic
#C778E1 #E1C778 #78E1C7
tetradic
#C778E1 #E19378 #92E178 #78C6E1
square
#C778E1 #E19378 #92E178 #78C6E1
split-complementary
#C778E1 #C6E178 #78E193
monochromatic
#9328B6 #B246D6 #C778E1 #DCAAEC #F1DCF7

Accessibility & contrast

On white

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

On black

7.20
#C778E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778E1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778E1#FFFFFF#000000##000000
##C778E11.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6592E5
Deuteranopia (green-blind)
#7B9ADE
Tritanopia (blue-blind)
#C787A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c778e1;
/* rgb */ color: rgb(199, 120, 225);
/* oklch */ color: oklch(69.7% 0.168 317.3);
Tailwind
colors: {
  custom: {
    50: '#daa1eb',
    500: '#c778e1',
    950: '#000000',
  },
}
SCSS
$custom: #c778e1;
$custom-light: #daa1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c778e1",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 285.143,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.16826,
    "h": 317.3
  },
  "luminance": 0.31011
}

Semantic roles & 50–950 ramp

primary
#C778E1
secondary
#D2EBCA
accent
#CB1A46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778E1

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

Preview Lab → · Contrast checker → · Palette generator →

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