#C778DD#C778DD

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

Color values

HEX#C778DD
RGBrgb(199, 120, 221)
HSLhsl(287, 60%, 67%)
HSVhsv(287, 46%, 87%)
CMYKcmyk(10%, 45.7%, 0%, 13.3%)
CIE-LABlab(62.34, 47.13, -39.23)
CIE-LCHlch(62.34, 61.32, 320.23°)
OKLaboklab(69.47% 0.1231 -0.1084)
OKLCHoklch(69.47% 0.164 318.6)
XYZxyz(43.3191, 30.7970, 72.0551)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DD #8EDD78
analogous
#9578DD #C778DD #DD78C0
triadic
#C778DD #DDC778 #78DDC7
tetradic
#C778DD #DD9578 #8EDD78 #78C0DD
square
#C778DD #DD9578 #8EDD78 #78C0DD
split-complementary
#C778DD #C0DD78 #78DD95
monochromatic
#922CAF #B347D1 #C778DD #DBA9E9 #F0DAF6

Accessibility & contrast

On white

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

On black

7.16
#C778DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DD#FFFFFF#000000##000000
##C778DD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E1
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#C786A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c778dd;
/* rgb */ color: rgb(199, 120, 221);
/* oklch */ color: oklch(69.5% 0.164 318.6);
Tailwind
colors: {
  custom: {
    50: '#daa1e8',
    500: '#c778dd',
    950: '#000000',
  },
}
SCSS
$custom: #c778dd;
$custom-light: #daa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c778dd",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 286.931,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69468,
    "c": 0.16404,
    "h": 318.6
  },
  "luminance": 0.30796
}

Semantic roles & 50–950 ramp

primary
#C778DD
secondary
#CFE9C8
accent
#C71E43
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DD

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

Preview Lab → · Contrast checker → · Palette generator →

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