#E271E4#E271E4

#E271E4 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.197 H 326.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#E271E4
RGBrgb(226, 113, 228)
HSLhsl(299, 68%, 67%)
HSVhsv(299, 50%, 89%)
CMYKcmyk(0.9%, 50.4%, 0%, 10.6%)
CIE-LABlab(64.63, 59.48, -39.30)
CIE-LCHlch(64.63, 71.28, 326.55°)
OKLaboklab(71.98% 0.1646 -0.108)
OKLCHoklch(71.98% 0.197 326.7)
XYZxyz(51.2718, 33.5833, 77.1653)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271E4 #73E471
analogous
#A971E4 #E271E4 #E471AC
triadic
#E271E4 #E4E271 #71E4E2
tetradic
#E271E4 #E4A971 #73E471 #71ACE4
square
#E271E4 #E4A971 #73E471 #71ACE4
split-complementary
#E271E4 #ACE471 #71E4A9
monochromatic
#B523B8 #D73EDA #E271E4 #EDA4EE #F7D8F8

Accessibility & contrast

On white

2.72
#E271E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#E271E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271E4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271E4#FFFFFF#000000##000000
##E271E41.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#E87EA0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e271e4;
/* rgb */ color: rgb(226, 113, 228);
/* oklch */ color: oklch(72.0% 0.197 326.7);
Tailwind
colors: {
  custom: {
    50: '#ed9eed',
    500: '#e271e4',
    950: '#000000',
  },
}
SCSS
$custom: #e271e4;
$custom-light: #ed9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#e271e4",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 298.957,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.19688,
    "h": 326.7
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#E271E4
secondary
#C7EBC6
accent
#D01619
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271E4

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

Preview Lab → · Contrast checker → · Palette generator →

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