#E778F2#E778F2

#E778F2 is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.2% C 0.202 H 323.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#E778F2
RGBrgb(231, 120, 242)
HSLhsl(295, 82%, 71%)
HSVhsv(295, 50%, 95%)
CMYKcmyk(4.5%, 50.4%, 0%, 5.1%)
CIE-LABlab(67.15, 59.99, -43.04)
CIE-LCHlch(67.15, 73.83, 324.34°)
OKLaboklab(74.18% 0.1628 -0.1187)
OKLCHoklch(74.18% 0.202 323.9)
XYZxyz(55.6970, 36.8354, 88.1633)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778F2 #83F278
analogous
#AA78F2 #E778F2 #F278C0
triadic
#E778F2 #F2E778 #78F2E7
tetradic
#E778F2 #F2AA78 #83F278 #78C0F2
square
#E778F2 #F2AA78 #83F278 #78C0F2
split-complementary
#E778F2 #C0F278 #78F2AA
monochromatic
#C915DB #DD40ED #E778F2 #F1B0F7 #FAE3FC

Accessibility & contrast

On white

2.51
#E778F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#E778F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778F2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778F2#FFFFFF#000000##000000
##E778F21.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#EB87AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e778f2;
/* rgb */ color: rgb(231, 120, 242);
/* oklch */ color: oklch(74.2% 0.202 323.9);
Tailwind
colors: {
  custom: {
    50: '#f1a3f7',
    500: '#e778f2',
    950: '#000000',
  },
}
SCSS
$custom: #e778f2;
$custom-light: #f1a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e778f2",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 294.59,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.2015,
    "h": 323.9
  },
  "luminance": 0.36833
}

Semantic roles & 50–950 ramp

primary
#E778F2
secondary
#D6F3D3
accent
#DF071A
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E778F2

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

Preview Lab → · Contrast checker → · Palette generator →

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