#E281F7#E281F7

#E281F7 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.190 H 320.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#E281F7
RGBrgb(226, 129, 247)
HSLhsl(289, 88%, 74%)
HSVhsv(289, 48%, 97%)
CMYKcmyk(8.5%, 47.8%, 0%, 3.1%)
CIE-LABlab(68.45, 55.16, -43.80)
CIE-LCHlch(68.45, 70.43, 321.55°)
OKLaboklab(75.08% 0.1458 -0.1211)
OKLCHoklch(75.08% 0.19 320.3)
XYZxyz(56.0007, 38.5868, 92.4758)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E281F7 #96F781
analogous
#A781F7 #E281F7 #F781D1
triadic
#E281F7 #F7E281 #81F7E2
tetradic
#E281F7 #F7A781 #96F781 #81D1F7
square
#E281F7 #F7A781 #96F781 #81D1F7
split-complementary
#E281F7 #D1F781 #81F7A7
monochromatic
#C70FEE #D547F3 #E281F7 #EFBBFB #F8E2FD

Accessibility & contrast

On white

2.41
#E281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#E281F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E281F7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E281F7#FFFFFF#000000##000000
##E281F71.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#E391B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e281f7;
/* rgb */ color: rgb(226, 129, 247);
/* oklch */ color: oklch(75.1% 0.190 320.3);
Tailwind
colors: {
  custom: {
    50: '#eda8fa',
    500: '#e281f7',
    950: '#000000',
  },
}
SCSS
$custom: #e281f7;
$custom-light: #eda8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e281f7",
  "rgb": {
    "r": 226,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 289.322,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75084,
    "c": 0.1895,
    "h": 320.3
  },
  "luminance": 0.38585
}

Semantic roles & 50–950 ramp

primary
#E281F7
secondary
#DBF5D6
accent
#E50129
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E281F7

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

Preview Lab → · Contrast checker → · Palette generator →

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