#E271F7#E271F7

#E271F7 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.214 H 321.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E271F7
RGBrgb(226, 113, 247)
HSLhsl(291, 89%, 71%)
HSVhsv(291, 54%, 97%)
CMYKcmyk(8.5%, 54.3%, 0%, 3.1%)
CIE-LABlab(65.51, 62.91, -48.42)
CIE-LCHlch(65.51, 79.39, 322.42°)
OKLaboklab(72.92% 0.1668 -0.1343)
OKLCHoklch(72.92% 0.214 321.1)
XYZxyz(54.0557, 34.6968, 91.8275)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F7 #86F771
analogous
#9F71F7 #E271F7 #F771C9
triadic
#E271F7 #F7E271 #71F7E2
tetradic
#E271F7 #F79F71 #86F771 #71C9F7
square
#E271F7 #F79F71 #86F771 #71C9F7
split-complementary
#E271F7 #C9F771 #71F79F
monochromatic
#C00DE1 #D637F4 #E271F7 #EEABFA #F9E2FD

Accessibility & contrast

On white

2.65
#E271F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E271F7#FFFFFF#000000##000000
##E271F71.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#E484AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271f7;
/* rgb */ color: rgb(226, 113, 247);
/* oklch */ color: oklch(72.9% 0.214 321.1);
Tailwind
colors: {
  custom: {
    50: '#ee9efa',
    500: '#e271f7',
    950: '#000000',
  },
}
SCSS
$custom: #e271f7;
$custom-light: #ee9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f7",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 290.597,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72916,
    "c": 0.21415,
    "h": 321.1
  },
  "luminance": 0.34694
}

Semantic roles & 50–950 ramp

primary
#E271F7
secondary
#D5F4D0
accent
#E60024
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F7

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

Preview Lab → · Contrast checker → · Palette generator →

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