#E778FB#E778FB

#E778FB is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.6% C 0.210 H 321.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E778FB
RGBrgb(231, 120, 251)
HSLhsl(291, 94%, 73%)
HSVhsv(291, 52%, 98%)
CMYKcmyk(8%, 52.2%, 0%, 1.6%)
CIE-LABlab(67.57, 61.64, -47.33)
CIE-LCHlch(67.57, 77.72, 322.48°)
OKLaboklab(74.62% 0.1638 -0.1311)
OKLCHoklch(74.62% 0.21 321.3)
XYZxyz(57.0821, 37.3894, 95.4582)
Luminance0.3739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E778FB #8CFB78
analogous
#A678FB #E778FB #FB78CD
triadic
#E778FB #FBE778 #78FBE7
tetradic
#E778FB #FBA678 #8CFB78 #78CDFB
square
#E778FB #FBA678 #8CFB78 #78CDFB
split-complementary
#E778FB #CDFB78 #78FBA6
monochromatic
#CE07F1 #DC3DF9 #E778FB #F2B3FD #FAE1FE

Accessibility & contrast

On white

2.48
#E778FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E778FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E778FB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E778FB#FFFFFF#000000##000000
##E778FB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#E98AAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e778fb;
/* rgb */ color: rgb(231, 120, 251);
/* oklch */ color: oklch(74.6% 0.210 321.3);
Tailwind
colors: {
  custom: {
    50: '#f1a3fd',
    500: '#e778fb',
    950: '#000000',
  },
}
SCSS
$custom: #e778fb;
$custom-light: #f1a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e778fb",
  "rgb": {
    "r": 231,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 290.84,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74621,
    "c": 0.20985,
    "h": 321.3
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#E778FB
secondary
#DAF6D5
accent
#E60023
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E778FB

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

Preview Lab → · Contrast checker → · Palette generator →

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