#E778DC#E778DC

#E778DC is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.2% C 0.182 H 331.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#E778DC
RGBrgb(231, 120, 220)
HSLhsl(306, 70%, 69%)
HSVhsv(306, 48%, 91%)
CMYKcmyk(0%, 48.1%, 4.8%, 9.4%)
CIE-LABlab(66.21, 56.14, -32.34)
CIE-LCHlch(66.21, 64.79, 330.05°)
OKLaboklab(73.17% 0.1593 -0.0881)
OKLCHoklch(73.17% 0.182 331.1)
XYZxyz(52.5893, 35.5923, 71.7963)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778DC #78E783
analogous
#BB78E7 #E778DC #E778A5
triadic
#E778DC #DCE778 #78DCE7
tetradic
#E778DC #E7BB78 #78E783 #78A5E7
square
#E778DC #E7BB78 #78E783 #78A5E7
split-complementary
#E778DC #A5E778 #78E7BB
monochromatic
#C223B2 #DE44CF #E778DC #F0ACE9 #F9E0F7

Accessibility & contrast

On white

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

On black

8.12
#E778DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778DC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778DC#FFFFFF#000000##000000
##E778DC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#EF81A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e778dc;
/* rgb */ color: rgb(231, 120, 220);
/* oklch */ color: oklch(73.2% 0.182 331.1);
Tailwind
colors: {
  custom: {
    50: '#f1a3e7',
    500: '#e778dc',
    950: '#000000',
  },
}
SCSS
$custom: #e778dc;
$custom-light: #f1a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e778dc",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 305.946,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7317,
    "c": 0.18203,
    "h": 331.1
  },
  "luminance": 0.35589
}

Semantic roles & 50–950 ramp

primary
#E778DC
secondary
#CDEED0
accent
#D22714
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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