#E278DB#E278DB

#E278DB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.178 H 329.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E278DB
RGBrgb(226, 120, 219)
HSLhsl(304, 65%, 68%)
HSVhsv(304, 47%, 89%)
CMYKcmyk(0%, 46.9%, 3.1%, 11.4%)
CIE-LABlab(65.53, 54.53, -32.89)
CIE-LCHlch(65.53, 63.67, 328.90°)
OKLaboklab(72.52% 0.1536 -0.0897)
OKLCHoklch(72.52% 0.178 329.7)
XYZxyz(50.8661, 34.7190, 71.0263)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278DB #78E27F
analogous
#B478E2 #E278DB #E278A6
triadic
#E278DB #DBE278 #78DBE2
tetradic
#E278DB #E2B478 #78E27F #78A6E2
square
#E278DB #E2B478 #78E27F #78A6E2
split-complementary
#E278DB #A6E278 #78E2B4
monochromatic
#B828AF #D746CE #E278DB #EDAAE8 #F8DDF6

Accessibility & contrast

On white

2.64
#E278DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#E278DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278DB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278DB#FFFFFF#000000##000000
##E278DB1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#E9819F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e278db;
/* rgb */ color: rgb(226, 120, 219);
/* oklch */ color: oklch(72.5% 0.178 329.7);
Tailwind
colors: {
  custom: {
    50: '#eda2e6',
    500: '#e278db',
    950: '#000000',
  },
}
SCSS
$custom: #e278db;
$custom-light: #eda2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e278db",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 303.962,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.17788,
    "h": 329.7
  },
  "luminance": 0.34716
}

Semantic roles & 50–950 ramp

primary
#E278DB
secondary
#CBEBCD
accent
#CC2519
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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