#E778EB#E778EB

#E778EB is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.195 H 326.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#E778EB
RGBrgb(231, 120, 235)
HSLhsl(298, 74%, 70%)
HSVhsv(298, 49%, 92%)
CMYKcmyk(1.7%, 48.9%, 0%, 7.8%)
CIE-LABlab(66.84, 58.73, -39.67)
CIE-LCHlch(66.84, 70.88, 325.96°)
OKLaboklab(73.85% 0.1618 -0.109)
OKLCHoklch(73.85% 0.195 326)
XYZxyz(54.6657, 36.4229, 82.7321)
Luminance0.3642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778EB #7CEB78
analogous
#AE78EB #E778EB #EB78B6
triadic
#E778EB #EBE778 #78EBE7
tetradic
#E778EB #EBAE78 #7CEB78 #78B6EB
square
#E778EB #EBAE78 #7CEB78 #78B6EB
split-complementary
#E778EB #B6EB78 #78EBAE
monochromatic
#C51ECB #DE43E3 #E778EB #F0ADF3 #FAE3FB

Accessibility & contrast

On white

2.54
#E778EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#E778EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778EB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778EB#FFFFFF#000000##000000
##E778EB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#EC85A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e778eb;
/* rgb */ color: rgb(231, 120, 235);
/* oklch */ color: oklch(73.8% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#f1a3f2',
    500: '#e778eb',
    950: '#000000',
  },
}
SCSS
$custom: #e778eb;
$custom-light: #f1a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e778eb",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 297.913,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.19513,
    "h": 326
  },
  "luminance": 0.3642
}

Semantic roles & 50–950 ramp

primary
#E778EB
secondary
#D0F0CF
accent
#D60F16
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E778EB

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

Preview Lab → · Contrast checker → · Palette generator →

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