#E278EB#E278EB

#E278EB is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.3% C 0.192 H 324.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#E278EB
RGBrgb(226, 120, 235)
HSLhsl(295, 74%, 70%)
HSVhsv(295, 49%, 92%)
CMYKcmyk(3.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(66.22, 57.36, -40.70)
CIE-LCHlch(66.22, 70.33, 324.64°)
OKLaboklab(73.25% 0.1562 -0.1121)
OKLCHoklch(73.25% 0.192 324.3)
XYZxyz(53.0745, 35.6024, 82.6575)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278EB #81EB78
analogous
#A878EB #E278EB #EB78BB
triadic
#E278EB #EBE278 #78EBE2
tetradic
#E278EB #EBA878 #81EB78 #78BBEB
square
#E278EB #EBA878 #81EB78 #78BBEB
split-complementary
#E278EB #BBEB78 #78EBA8
monochromatic
#BD1ECB #D743E3 #E278EB #EDADF3 #F9E3FB

Accessibility & contrast

On white

2.59
#E278EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#E278EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278EB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278EB#FFFFFF#000000##000000
##E278EB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#E686A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e278eb;
/* rgb */ color: rgb(226, 120, 235);
/* oklch */ color: oklch(73.3% 0.192 324.3);
Tailwind
colors: {
  custom: {
    50: '#eda3f2',
    500: '#e278eb',
    950: '#000000',
  },
}
SCSS
$custom: #e278eb;
$custom-light: #eda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e278eb",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 295.304,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73252,
    "c": 0.19229,
    "h": 324.3
  },
  "luminance": 0.356
}

Semantic roles & 50–950 ramp

primary
#E278EB
secondary
#D2F0CF
accent
#D60F1F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E278EB

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

Preview Lab → · Contrast checker → · Palette generator →

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