#E778EC#E778EC

#E778EC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.9% C 0.196 H 325.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#E778EC
RGBrgb(231, 120, 236)
HSLhsl(297, 75%, 70%)
HSVhsv(297, 49%, 93%)
CMYKcmyk(2.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(66.89, 58.91, -40.16)
CIE-LCHlch(66.89, 71.30, 325.72°)
OKLaboklab(73.9% 0.162 -0.1104)
OKLCHoklch(73.9% 0.196 325.7)
XYZxyz(54.8106, 36.4808, 83.4951)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778EC #7DEC78
analogous
#AD78EC #E778EC #EC78B7
triadic
#E778EC #ECE778 #78ECE7
tetradic
#E778EC #ECAD78 #7DEC78 #78B7EC
square
#E778EC #ECAD78 #7DEC78 #78B7EC
split-complementary
#E778EC #B7EC78 #78ECAD
monochromatic
#C51DCD #DD42E4 #E778EC #F1AEF4 #FAE3FB

Accessibility & contrast

On white

2.53
#E778EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#E778EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778EC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778EC#FFFFFF#000000##000000
##E778EC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e778ec;
/* rgb */ color: rgb(231, 120, 236);
/* oklch */ color: oklch(73.9% 0.196 325.7);
Tailwind
colors: {
  custom: {
    50: '#f1a3f2',
    500: '#e778ec',
    950: '#000000',
  },
}
SCSS
$custom: #e778ec;
$custom-light: #f1a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e778ec",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 297.414,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73895,
    "c": 0.19604,
    "h": 325.7
  },
  "luminance": 0.36478
}

Semantic roles & 50–950 ramp

primary
#E778EC
secondary
#D1F0D0
accent
#D70E17
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E778EC

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

Preview Lab → · Contrast checker → · Palette generator →

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