#E271FE#E271FE

#E271FE is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.3% C 0.221 H 319.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#E271FE
RGBrgb(226, 113, 254)
HSLhsl(288, 99%, 72%)
HSVhsv(288, 56%, 100%)
CMYKcmyk(11%, 55.5%, 0%, 0.4%)
CIE-LABlab(65.86, 64.23, -51.72)
CIE-LCHlch(65.86, 82.46, 321.15°)
OKLaboklab(73.28% 0.1673 -0.1439)
OKLCHoklch(73.28% 0.221 319.3)
XYZxyz(55.1563, 35.1370, 97.6235)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FE #8DFE71
analogous
#9C71FE #E271FE #FE71D4
triadic
#E271FE #FEE271 #71FEE2
tetradic
#E271FE #FE9C71 #8DFE71 #71D4FE
square
#E271FE #FE9C71 #8DFE71 #71D4FE
split-complementary
#E271FE #D4FE71 #71FE9C
monochromatic
#C302F3 #D634FE #E271FE #EEAEFE #F9E1FF

Accessibility & contrast

On white

2.62
#E271FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#E271FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FE#FFFFFF#000000##000000
##E271FE1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#E387AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e271fe;
/* rgb */ color: rgb(226, 113, 254);
/* oklch */ color: oklch(73.3% 0.221 319.3);
Tailwind
colors: {
  custom: {
    50: '#ee9fff',
    500: '#e271fe',
    950: '#000000',
  },
}
SCSS
$custom: #e271fe;
$custom-light: #ee9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#e271fe",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 288.085,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73279,
    "c": 0.22071,
    "h": 319.3
  },
  "luminance": 0.35135
}

Semantic roles & 50–950 ramp

primary
#E271FE
secondary
#DBF7D4
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E271FE

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

Preview Lab → · Contrast checker → · Palette generator →

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