#E271E6#E271E6

#E271E6 is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.1% C 0.199 H 326.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#E271E6
RGBrgb(226, 113, 230)
HSLhsl(298, 70%, 67%)
HSVhsv(298, 51%, 90%)
CMYKcmyk(1.7%, 50.9%, 0%, 9.8%)
CIE-LABlab(64.72, 59.83, -40.27)
CIE-LCHlch(64.72, 72.12, 326.06°)
OKLaboklab(72.08% 0.1649 -0.1108)
OKLCHoklch(72.08% 0.199 326.1)
XYZxyz(51.5510, 33.6950, 78.6360)
Luminance0.3369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271E6 #75E671
analogous
#A871E6 #E271E6 #E671AF
triadic
#E271E6 #E6E271 #71E6E2
tetradic
#E271E6 #E6A871 #75E671 #71AFE6
square
#E271E6 #E6A871 #75E671 #71AFE6
split-complementary
#E271E6 #AFE671 #71E6A8
monochromatic
#B621BC #D73DDD #E271E6 #EDA5EF #F7D9F8

Accessibility & contrast

On white

2.71
#E271E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#E271E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271E6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271E6#FFFFFF#000000##000000
##E271E61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EA
Deuteranopia (green-blind)
#87A2E3
Tritanopia (blue-blind)
#E77FA1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e271e6;
/* rgb */ color: rgb(226, 113, 230);
/* oklch */ color: oklch(72.1% 0.199 326.1);
Tailwind
colors: {
  custom: {
    50: '#ed9eee',
    500: '#e271e6',
    950: '#000000',
  },
}
SCSS
$custom: #e271e6;
$custom-light: #ed9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#e271e6",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 297.949,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.19866,
    "h": 326.1
  },
  "luminance": 0.33692
}

Semantic roles & 50–950 ramp

primary
#E271E6
secondary
#C8ECC7
accent
#D2131A
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271E6

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

Preview Lab → · Contrast checker → · Palette generator →

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