#E278E8#E278E8

#E278E8 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.190 H 325.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#E278E8
RGBrgb(226, 120, 232)
HSLhsl(297, 71%, 69%)
HSVhsv(297, 48%, 91%)
CMYKcmyk(2.6%, 48.3%, 0%, 9%)
CIE-LABlab(66.08, 56.82, -39.24)
CIE-LCHlch(66.08, 69.05, 325.37°)
OKLaboklab(73.11% 0.1558 -0.1079)
OKLCHoklch(73.11% 0.19 325.3)
XYZxyz(52.6448, 35.4305, 80.3941)
Luminance0.3543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278E8 #7EE878
analogous
#AA78E8 #E278E8 #E878B6
triadic
#E278E8 #E8E278 #78E8E2
tetradic
#E278E8 #E8AA78 #7EE878 #78B6E8
square
#E278E8 #E8AA78 #7EE878 #78B6E8
split-complementary
#E278E8 #B6E878 #78E8AA
monochromatic
#BB21C4 #D744DF #E278E8 #EDACF1 #F8E1FA

Accessibility & contrast

On white

2.60
#E278E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#E278E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278E8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278E8#FFFFFF#000000##000000
##E278E81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#8BA5E5
Tritanopia (blue-blind)
#E785A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e278e8;
/* rgb */ color: rgb(226, 120, 232);
/* oklch */ color: oklch(73.1% 0.190 325.3);
Tailwind
colors: {
  custom: {
    50: '#eda2ef',
    500: '#e278e8',
    950: '#000000',
  },
}
SCSS
$custom: #e278e8;
$custom-light: #eda2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e278e8",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 296.786,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73111,
    "c": 0.18951,
    "h": 325.3
  },
  "luminance": 0.35428
}

Semantic roles & 50–950 ramp

primary
#E278E8
secondary
#CFEECD
accent
#D3131D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E278E8

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

Preview Lab → · Contrast checker → · Palette generator →

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