#C778DB#C778DB

#C778DB is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.4% C 0.162 H 319.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C778DB
RGBrgb(199, 120, 219)
HSLhsl(288, 58%, 66%)
HSVhsv(288, 45%, 86%)
CMYKcmyk(9.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.25, 46.73, -38.25)
CIE-LCHlch(62.25, 60.39, 320.70°)
OKLaboklab(69.37% 0.1228 -0.1056)
OKLCHoklch(69.37% 0.162 319.3)
XYZxyz(43.0542, 30.6910, 70.6601)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778DB #8CDB78
analogous
#9678DB #C778DB #DB78BE
triadic
#C778DB #DBC778 #78DBC7
tetradic
#C778DB #DB9678 #8CDB78 #78BEDB
square
#C778DB #DB9678 #8CDB78 #78BEDB
split-complementary
#C778DB #BEDB78 #78DB96
monochromatic
#922EAB #B348CE #C778DB #DBA8E8 #EFD9F5

Accessibility & contrast

On white

2.94
#C778DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C778DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778DB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778DB#FFFFFF#000000##000000
##C778DB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#C8859F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c778db;
/* rgb */ color: rgb(199, 120, 219);
/* oklch */ color: oklch(69.4% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#daa1e6',
    500: '#c778db',
    950: '#000000',
  },
}
SCSS
$custom: #c778db;
$custom-light: #daa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c778db",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 287.879,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69372,
    "c": 0.16195,
    "h": 319.3
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#C778DB
secondary
#CEE7C7
accent
#C52041
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C778DB

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

Preview Lab → · Contrast checker → · Palette generator →

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