#E271FB#E271FB

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

Color values

HEX#E271FB
RGBrgb(226, 113, 251)
HSLhsl(289, 95%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(10%, 55%, 0%, 1.6%)
CIE-LABlab(65.71, 63.66, -50.31)
CIE-LCHlch(65.71, 81.14, 321.68°)
OKLaboklab(73.12% 0.1671 -0.1398)
OKLCHoklch(73.12% 0.218 320.1)
XYZxyz(54.6796, 34.9464, 95.1132)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FB #8AFB71
analogous
#9D71FB #E271FB #FB71CF
triadic
#E271FB #FBE271 #71FBE2
tetradic
#E271FB #FB9D71 #8AFB71 #71CFFB
square
#E271FB #FB9D71 #8AFB71 #71CFFB
split-complementary
#E271FB #CFFB71 #71FB9D
monochromatic
#C207EB #D635F9 #E271FB #EEADFD #F9E1FE

Accessibility & contrast

On white

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

On black

7.99
#E271FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FB#FFFFFF#000000##000000
##E271FB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#E385AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e271fb;
/* rgb */ color: rgb(226, 113, 251);
/* oklch */ color: oklch(73.1% 0.218 320.1);
Tailwind
colors: {
  custom: {
    50: '#ee9ffd',
    500: '#e271fb',
    950: '#000000',
  },
}
SCSS
$custom: #e271fb;
$custom-light: #ee9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e271fb",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 289.13,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73122,
    "c": 0.21789,
    "h": 320.1
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#E271FB
secondary
#D8F6D2
accent
#E6002A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E271FB

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

Preview Lab → · Contrast checker → · Palette generator →

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