#E271F4#E271F4

#E271F4 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.8% C 0.211 H 322.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#E271F4
RGBrgb(226, 113, 244)
HSLhsl(292, 86%, 70%)
HSVhsv(292, 54%, 96%)
CMYKcmyk(7.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(65.37, 62.36, -47.00)
CIE-LCHlch(65.37, 78.08, 323.00°)
OKLaboklab(72.76% 0.1665 -0.1302)
OKLCHoklch(72.76% 0.211 322)
XYZxyz(53.5965, 34.5132, 89.4090)
Luminance0.3451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F4 #83F471
analogous
#A171F4 #E271F4 #F471C4
triadic
#E271F4 #F4E271 #71F4E2
tetradic
#E271F4 #F4A171 #83F471 #71C4F4
square
#E271F4 #F4A171 #83F471 #71C4F4
split-complementary
#E271F4 #C4F471 #71F4A1
monochromatic
#BE11DA #D638F0 #E271F4 #EEAAF8 #F9E3FD

Accessibility & contrast

On white

2.66
#E271F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#E271F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F4#FFFFFF#000000##000000
##E271F41.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#E583A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271f4;
/* rgb */ color: rgb(226, 113, 244);
/* oklch */ color: oklch(72.8% 0.211 322.0);
Tailwind
colors: {
  custom: {
    50: '#ee9ef8',
    500: '#e271f4',
    950: '#000000',
  },
}
SCSS
$custom: #e271f4;
$custom-light: #ee9ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f4",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 291.756,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.72763,
    "c": 0.21138,
    "h": 322
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#E271F4
secondary
#D3F3CE
accent
#E20322
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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