#E271EA#E271EA

#E271EA is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.3% C 0.202 H 324.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#E271EA
RGBrgb(226, 113, 234)
HSLhsl(296, 74%, 68%)
HSVhsv(296, 52%, 92%)
CMYKcmyk(3.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(64.90, 60.54, -42.20)
CIE-LCHlch(64.90, 73.80, 325.12°)
OKLaboklab(72.27% 0.1654 -0.1164)
OKLCHoklch(72.27% 0.202 324.9)
XYZxyz(52.1192, 33.9222, 81.6283)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271EA #79EA71
analogous
#A571EA #E271EA #EA71B5
triadic
#E271EA #EAE271 #71EAE2
tetradic
#E271EA #EAA571 #79EA71 #71B5EA
square
#E271EA #EAA571 #79EA71 #71B5EA
split-complementary
#E271EA #B5EA71 #71EAA5
monochromatic
#B91DC4 #D73CE2 #E271EA #EDA6F2 #F8DCFA

Accessibility & contrast

On white

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

On black

7.78
#E271EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271EA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271EA#FFFFFF#000000##000000
##E271EA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#85A2E7
Tritanopia (blue-blind)
#E680A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e271ea;
/* rgb */ color: rgb(226, 113, 234);
/* oklch */ color: oklch(72.3% 0.202 324.9);
Tailwind
colors: {
  custom: {
    50: '#ee9ef1',
    500: '#e271ea',
    950: '#000000',
  },
}
SCSS
$custom: #e271ea;
$custom-light: #ee9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#e271ea",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 296.033,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72268,
    "c": 0.20225,
    "h": 324.9
  },
  "luminance": 0.3392
}

Semantic roles & 50–950 ramp

primary
#E271EA
secondary
#CBEEC9
accent
#D60F1C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271EA

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

Preview Lab → · Contrast checker → · Palette generator →

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