#E778DB#E778DB

#E778DB is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.1% C 0.181 H 331.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#E778DB
RGBrgb(231, 120, 219)
HSLhsl(306, 70%, 69%)
HSVhsv(306, 48%, 91%)
CMYKcmyk(0%, 48.1%, 5.2%, 9.4%)
CIE-LABlab(66.17, 55.97, -31.85)
CIE-LCHlch(66.17, 64.39, 330.36°)
OKLaboklab(73.13% 0.1591 -0.0867)
OKLCHoklch(73.13% 0.181 331.4)
XYZxyz(52.4573, 35.5395, 71.1009)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778DB #78E784
analogous
#BC78E7 #E778DB #E778A4
triadic
#E778DB #DBE778 #78DBE7
tetradic
#E778DB #E7BC78 #78E784 #78A4E7
square
#E778DB #E7BC78 #78E784 #78A4E7
split-complementary
#E778DB #A4E778 #78E7BC
monochromatic
#C223B1 #DE44CD #E778DB #F0ACE9 #F9E0F7

Accessibility & contrast

On white

2.59
#E778DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#E778DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778DB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778DB#FFFFFF#000000##000000
##E778DB1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#EF809F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e778db;
/* rgb */ color: rgb(231, 120, 219);
/* oklch */ color: oklch(73.1% 0.181 331.4);
Tailwind
colors: {
  custom: {
    50: '#f1a3e6',
    500: '#e778db',
    950: '#000000',
  },
}
SCSS
$custom: #e778db;
$custom-light: #f1a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e778db",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 306.486,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.18119,
    "h": 331.4
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#E778DB
secondary
#CDEED1
accent
#D22814
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E778DB

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

Preview Lab → · Contrast checker → · Palette generator →

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