#E278F2#E278F2

#E278F2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.6% C 0.199 H 322.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#E278F2
RGBrgb(226, 120, 242)
HSLhsl(292, 82%, 71%)
HSVhsv(292, 50%, 95%)
CMYKcmyk(6.6%, 50.4%, 0%, 5.1%)
CIE-LABlab(66.53, 58.65, -44.06)
CIE-LCHlch(66.53, 73.36, 323.08°)
OKLaboklab(73.59% 0.1572 -0.1218)
OKLCHoklch(73.59% 0.199 322.2)
XYZxyz(54.1058, 36.0149, 88.0888)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E278F2 #88F278
analogous
#A578F2 #E278F2 #F278C5
triadic
#E278F2 #F2E278 #78F2E2
tetradic
#E278F2 #F2A578 #88F278 #78C5F2
square
#E278F2 #F2A578 #88F278 #78C5F2
split-complementary
#E278F2 #C5F278 #78F2A5
monochromatic
#C115DB #D640ED #E278F2 #EEB0F7 #F9E3FC

Accessibility & contrast

On white

2.56
#E278F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#E278F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E278F2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E278F2#FFFFFF#000000##000000
##E278F21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#E588AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e278f2;
/* rgb */ color: rgb(226, 120, 242);
/* oklch */ color: oklch(73.6% 0.199 322.2);
Tailwind
colors: {
  custom: {
    50: '#eda3f7',
    500: '#e278f2',
    950: '#000000',
  },
}
SCSS
$custom: #e278f2;
$custom-light: #eda3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e278f2",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 292.131,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73589,
    "c": 0.19883,
    "h": 322.2
  },
  "luminance": 0.36012
}

Semantic roles & 50–950 ramp

primary
#E278F2
secondary
#D7F3D3
accent
#DF0723
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E278F2

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

Preview Lab → · Contrast checker → · Palette generator →

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