#E271FA#E271FA

#E271FA is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.1% C 0.217 H 320.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#E271FA
RGBrgb(226, 113, 250)
HSLhsl(289, 93%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(9.6%, 54.8%, 0%, 2%)
CIE-LABlab(65.66, 63.47, -49.84)
CIE-LCHlch(65.66, 80.70, 321.86°)
OKLaboklab(73.07% 0.167 -0.1385)
OKLCHoklch(73.07% 0.217 320.3)
XYZxyz(54.5224, 34.8835, 94.2852)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FA #89FA71
analogous
#9D71FA #E271FA #FA71CD
triadic
#E271FA #FAE271 #71FAE2
tetradic
#E271FA #FA9D71 #89FA71 #71CDFA
square
#E271FA #FA9D71 #89FA71 #71CDFA
split-complementary
#E271FA #CDFA71 #71FA9D
monochromatic
#C108E8 #D636F8 #E271FA #EEACFC #F9E1FE

Accessibility & contrast

On white

2.63
#E271FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#E271FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FA#FFFFFF#000000##000000
##E271FA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FE
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#E385AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271fa;
/* rgb */ color: rgb(226, 113, 250);
/* oklch */ color: oklch(73.1% 0.217 320.3);
Tailwind
colors: {
  custom: {
    50: '#ee9ffc',
    500: '#e271fa',
    950: '#000000',
  },
}
SCSS
$custom: #e271fa;
$custom-light: #ee9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e271fa",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 289.489,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7307,
    "c": 0.21696,
    "h": 320.3
  },
  "luminance": 0.34881
}

Semantic roles & 50–950 ramp

primary
#E271FA
secondary
#D8F5D1
accent
#E60028
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271FA

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

Preview Lab → · Contrast checker → · Palette generator →

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