#E271FD#E271FD

#E271FD is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.220 H 319.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#E271FD
RGBrgb(226, 113, 253)
HSLhsl(288, 97%, 72%)
HSVhsv(288, 55%, 99%)
CMYKcmyk(10.7%, 55.3%, 0%, 0.8%)
CIE-LABlab(65.81, 64.04, -51.25)
CIE-LCHlch(65.81, 82.02, 321.33°)
OKLaboklab(73.23% 0.1673 -0.1426)
OKLCHoklch(73.23% 0.22 319.6)
XYZxyz(54.9965, 35.0732, 96.7823)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FD #8CFD71
analogous
#9C71FD #E271FD #FD71D2
triadic
#E271FD #FDE271 #71FDE2
tetradic
#E271FD #FD9C71 #8CFD71 #71D2FD
square
#E271FD #FD9C71 #8CFD71 #71D2FD
split-complementary
#E271FD #D2FD71 #71FD9C
monochromatic
#C303F0 #D635FC #E271FD #EEADFE #F9E1FF

Accessibility & contrast

On white

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

On black

8.01
#E271FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FD#FFFFFF#000000##000000
##E271FD1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#E386AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e271fd;
/* rgb */ color: rgb(226, 113, 253);
/* oklch */ color: oklch(73.2% 0.220 319.6);
Tailwind
colors: {
  custom: {
    50: '#ee9ffe',
    500: '#e271fd',
    950: '#000000',
  },
}
SCSS
$custom: #e271fd;
$custom-light: #ee9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e271fd",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 288.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73227,
    "c": 0.21977,
    "h": 319.6
  },
  "luminance": 0.35071
}

Semantic roles & 50–950 ramp

primary
#E271FD
secondary
#DAF7D3
accent
#E6002C
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E271FD

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

Preview Lab → · Contrast checker → · Palette generator →

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