#E271E5#E271E5

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

Color values

HEX#E271E5
RGBrgb(226, 113, 229)
HSLhsl(298, 69%, 67%)
HSVhsv(298, 51%, 90%)
CMYKcmyk(1.3%, 50.7%, 0%, 10.2%)
CIE-LABlab(64.67, 59.65, -39.78)
CIE-LCHlch(64.67, 71.70, 326.30°)
OKLaboklab(72.03% 0.1648 -0.1094)
OKLCHoklch(72.03% 0.198 326.4)
XYZxyz(51.4110, 33.6389, 77.8986)
Luminance0.3364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271E5 #74E571
analogous
#A871E5 #E271E5 #E571AE
triadic
#E271E5 #E5E271 #71E5E2
tetradic
#E271E5 #E5A871 #74E571 #71AEE5
square
#E271E5 #E5A871 #74E571 #71AEE5
split-complementary
#E271E5 #AEE571 #71E5A8
monochromatic
#B622BA #D73DDC #E271E5 #EDA5EE #F7D8F8

Accessibility & contrast

On white

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

On black

7.73
#E271E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271E5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271E5#FFFFFF#000000##000000
##E271E51.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594E9
Deuteranopia (green-blind)
#87A2E2
Tritanopia (blue-blind)
#E77EA1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e271e5;
/* rgb */ color: rgb(226, 113, 229);
/* oklch */ color: oklch(72.0% 0.198 326.4);
Tailwind
colors: {
  custom: {
    50: '#ed9eed',
    500: '#e271e5',
    950: '#000000',
  },
}
SCSS
$custom: #e271e5;
$custom-light: #ed9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#e271e5",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 298.448,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.19777,
    "h": 326.4
  },
  "luminance": 0.33636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E271E5

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

Preview Lab → · Contrast checker → · Palette generator →

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