#E271E2#E271E2

#E271E2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.9% C 0.195 H 327.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#E271E2
RGBrgb(226, 113, 226)
HSLhsl(300, 66%, 66%)
HSVhsv(300, 50%, 89%)
CMYKcmyk(0%, 50%, 0%, 11.4%)
CIE-LABlab(64.54, 59.13, -38.32)
CIE-LCHlch(64.54, 70.46, 327.05°)
OKLaboklab(71.89% 0.1643 -0.1052)
OKLCHoklch(71.89% 0.195 327.4)
XYZxyz(50.9958, 33.4728, 75.7116)
Luminance0.3347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271E2 #71E271
analogous
#AA71E2 #E271E2 #E271AA
triadic
#E271E2 #E2E271 #71E2E2
tetradic
#E271E2 #E2AA71 #71E271 #71AAE2
square
#E271E2 #E2AA71 #71E271 #71AAE2
split-complementary
#E271E2 #AAE271 #71E2AA
monochromatic
#B425B4 #D83ED8 #E271E2 #ECA4EC #F7D7F7

Accessibility & contrast

On white

2.73
#E271E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#E271E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271E2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271E2#FFFFFF#000000##000000
##E271E21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#88A2DF
Tritanopia (blue-blind)
#E87D9F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e271e2;
/* rgb */ color: rgb(226, 113, 226);
/* oklch */ color: oklch(71.9% 0.195 327.4);
Tailwind
colors: {
  custom: {
    50: '#ed9eeb',
    500: '#e271e2',
    950: '#000000',
  },
}
SCSS
$custom: #e271e2;
$custom-light: #ed9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#e271e2",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 300,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71886,
    "c": 0.19512,
    "h": 327.4
  },
  "luminance": 0.3347
}

Semantic roles & 50–950 ramp

primary
#E271E2
secondary
#C5EAC5
accent
#CE1818
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271E2

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

Preview Lab → · Contrast checker → · Palette generator →

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