#E271F6#E271F6

#E271F6 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.9% C 0.213 H 321.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#E271F6
RGBrgb(226, 113, 246)
HSLhsl(291, 88%, 70%)
HSVhsv(291, 54%, 96%)
CMYKcmyk(8.1%, 54.1%, 0%, 3.5%)
CIE-LABlab(65.46, 62.73, -47.95)
CIE-LCHlch(65.46, 78.95, 322.61°)
OKLaboklab(72.87% 0.1667 -0.133)
OKLCHoklch(72.87% 0.213 321.4)
XYZxyz(53.9018, 34.6353, 91.0169)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F6 #85F671
analogous
#9F71F6 #E271F6 #F671C8
triadic
#E271F6 #F6E271 #71F6E2
tetradic
#E271F6 #F69F71 #85F671 #71C8F6
square
#E271F6 #F69F71 #85F671 #71C8F6
split-complementary
#E271F6 #C8F671 #71F69F
monochromatic
#BF0EDE #D637F2 #E271F6 #EEABFA #F9E2FD

Accessibility & contrast

On white

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

On black

7.93
#E271F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F6#FFFFFF#000000##000000
##E271F61.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#E484A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271f6;
/* rgb */ color: rgb(226, 113, 246);
/* oklch */ color: oklch(72.9% 0.213 321.4);
Tailwind
colors: {
  custom: {
    50: '#ee9ef9',
    500: '#e271f6',
    950: '#000000',
  },
}
SCSS
$custom: #e271f6;
$custom-light: #ee9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f6",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 290.977,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72865,
    "c": 0.21324,
    "h": 321.4
  },
  "luminance": 0.34633
}

Semantic roles & 50–950 ramp

primary
#E271F6
secondary
#D5F4CF
accent
#E50123
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F6

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

Preview Lab → · Contrast checker → · Palette generator →

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