#E271F9#E271F9

#E271F9 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.216 H 320.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#E271F9
RGBrgb(226, 113, 249)
HSLhsl(290, 92%, 71%)
HSVhsv(290, 55%, 98%)
CMYKcmyk(9.2%, 54.6%, 0%, 2.4%)
CIE-LABlab(65.61, 63.29, -49.37)
CIE-LCHlch(65.61, 80.26, 322.04°)
OKLaboklab(73.02% 0.1669 -0.1371)
OKLCHoklch(73.02% 0.216 320.6)
XYZxyz(54.3660, 34.8209, 93.4616)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F9 #88F971
analogous
#9E71F9 #E271F9 #F971CC
triadic
#E271F9 #F9E271 #71F9E2
tetradic
#E271F9 #F99E71 #88F971 #71CCF9
square
#E271F9 #F99E71 #88F971 #71CCF9
split-complementary
#E271F9 #CCF971 #71F99E
monochromatic
#C10AE6 #D636F7 #E271F9 #EEACFB #F9E2FE

Accessibility & contrast

On white

2.64
#E271F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#E271F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F9#FFFFFF#000000##000000
##E271F91.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#7DA4F5
Tritanopia (blue-blind)
#E485AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e271f9;
/* rgb */ color: rgb(226, 113, 249);
/* oklch */ color: oklch(73.0% 0.216 320.6);
Tailwind
colors: {
  custom: {
    50: '#ee9efc',
    500: '#e271f9',
    950: '#000000',
  },
}
SCSS
$custom: #e271f9;
$custom-light: #ee9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f9",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 289.853,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73019,
    "c": 0.21602,
    "h": 320.6
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

primary
#E271F9
secondary
#D7F5D1
accent
#E60027
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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