#E278EF#E278EF

#E278EF is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.196 H 323.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#E278EF
RGBrgb(226, 120, 239)
HSLhsl(293, 79%, 70%)
HSVhsv(293, 50%, 94%)
CMYKcmyk(5.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(66.39, 58.09, -42.62)
CIE-LCHlch(66.39, 72.05, 323.73°)
OKLaboklab(73.44% 0.1568 -0.1176)
OKLCHoklch(73.44% 0.196 323.1)
XYZxyz(53.6589, 35.8362, 85.7352)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278EF #85EF78
analogous
#A678EF #E278EF #EF78C1
triadic
#E278EF #EFE278 #78EFE2
tetradic
#E278EF #EFA678 #85EF78 #78C1EF
square
#E278EF #EFA678 #85EF78 #78C1EF
split-complementary
#E278EF #C1EF78 #78EFA6
monochromatic
#BF19D4 #D641E9 #E278EF #EEAFF5 #F9E4FC

Accessibility & contrast

On white

2.57
#E278EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#E278EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278EF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278EF#FFFFFF#000000##000000
##E278EF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#E587A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e278ef;
/* rgb */ color: rgb(226, 120, 239);
/* oklch */ color: oklch(73.4% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#eda3f4',
    500: '#e278ef',
    950: '#000000',
  },
}
SCSS
$custom: #e278ef;
$custom-light: #eda3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e278ef",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 293.445,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.19601,
    "h": 323.1
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#E278EF
secondary
#D5F2D1
accent
#DB0A21
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E278EF

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

Preview Lab → · Contrast checker → · Palette generator →

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