#E271E9#E271E9

#E271E9 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.2% C 0.201 H 325.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#E271E9
RGBrgb(226, 113, 233)
HSLhsl(297, 73%, 68%)
HSVhsv(297, 52%, 91%)
CMYKcmyk(3%, 51.5%, 0%, 8.6%)
CIE-LABlab(64.86, 60.36, -41.72)
CIE-LCHlch(64.86, 73.38, 325.35°)
OKLaboklab(72.22% 0.1653 -0.115)
OKLCHoklch(72.22% 0.201 325.2)
XYZxyz(51.9759, 33.8649, 80.8738)
Luminance0.3386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271E9 #78E971
analogous
#A671E9 #E271E9 #E971B4
triadic
#E271E9 #E9E271 #71E9E2
tetradic
#E271E9 #E9A671 #78E971 #71B4E9
square
#E271E9 #E9A671 #78E971 #71B4E9
split-complementary
#E271E9 #B4E971 #71E9A6
monochromatic
#B81EC2 #D73CE1 #E271E9 #EDA6F1 #F8DBF9

Accessibility & contrast

On white

2.70
#E271E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#E271E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271E9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271E9#FFFFFF#000000##000000
##E271E91.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294ED
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#E780A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e271e9;
/* rgb */ color: rgb(226, 113, 233);
/* oklch */ color: oklch(72.2% 0.201 325.2);
Tailwind
colors: {
  custom: {
    50: '#ee9ef0',
    500: '#e271e9',
    950: '#000000',
  },
}
SCSS
$custom: #e271e9;
$custom-light: #ee9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#e271e9",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 296.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72219,
    "c": 0.20135,
    "h": 325.2
  },
  "luminance": 0.33862
}

Semantic roles & 50–950 ramp

primary
#E271E9
secondary
#CBEDC8
accent
#D5101C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271E9

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

Preview Lab → · Contrast checker → · Palette generator →

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