#E271F8#E271F8

#E271F8 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.215 H 320.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#E271F8
RGBrgb(226, 113, 248)
HSLhsl(290, 91%, 71%)
HSVhsv(290, 54%, 97%)
CMYKcmyk(8.9%, 54.4%, 0%, 2.7%)
CIE-LABlab(65.56, 63.10, -48.89)
CIE-LCHlch(65.56, 79.83, 322.23°)
OKLaboklab(72.97% 0.1669 -0.1357)
OKLCHoklch(72.97% 0.215 320.9)
XYZxyz(54.2105, 34.7587, 92.6423)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F8 #87F871
analogous
#9E71F8 #E271F8 #F871CA
triadic
#E271F8 #F8E271 #71F8E2
tetradic
#E271F8 #F89E71 #87F871 #71CAF8
square
#E271F8 #F89E71 #87F871 #71CAF8
split-complementary
#E271F8 #CAF871 #71F89E
monochromatic
#C00BE3 #D637F5 #E271F8 #EEABFB #F9E2FE

Accessibility & contrast

On white

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

On black

7.95
#E271F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F8#FFFFFF#000000##000000
##E271F81.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#7EA3F4
Tritanopia (blue-blind)
#E484AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271f8;
/* rgb */ color: rgb(226, 113, 248);
/* oklch */ color: oklch(73.0% 0.215 320.9);
Tailwind
colors: {
  custom: {
    50: '#ee9efb',
    500: '#e271f8',
    950: '#000000',
  },
}
SCSS
$custom: #e271f8;
$custom-light: #ee9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f8",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 290.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72967,
    "c": 0.21509,
    "h": 320.9
  },
  "luminance": 0.34756
}

Semantic roles & 50–950 ramp

primary
#E271F8
secondary
#D6F5D0
accent
#E60025
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F8

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

Preview Lab → · Contrast checker → · Palette generator →

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