#E271DE#E271DE

#E271DE is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.192 H 328.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#E271DE
RGBrgb(226, 113, 222)
HSLhsl(302, 66%, 66%)
HSVhsv(302, 50%, 89%)
CMYKcmyk(0%, 50%, 1.8%, 11.4%)
CIE-LABlab(64.37, 58.43, -36.36)
CIE-LCHlch(64.37, 68.82, 328.10°)
OKLaboklab(71.7% 0.1637 -0.0996)
OKLCHoklch(71.7% 0.192 328.7)
XYZxyz(50.4533, 33.2559, 72.8546)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271DE #71E275
analogous
#AE71E2 #E271DE #E271A6
triadic
#E271DE #DEE271 #71DEE2
tetradic
#E271DE #E2AE71 #71E275 #71A6E2
square
#E271DE #E2AE71 #71E275 #71A6E2
split-complementary
#E271DE #A6E271 #71E2AE
monochromatic
#B425AF #D83ED2 #E271DE #ECA4EA #F7D7F6

Accessibility & contrast

On white

2.74
#E271DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#E271DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271DE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271DE#FFFFFF#000000##000000
##E271DE1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E2
Deuteranopia (green-blind)
#8AA1DB
Tritanopia (blue-blind)
#E97C9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e271de;
/* rgb */ color: rgb(226, 113, 222);
/* oklch */ color: oklch(71.7% 0.192 328.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ee8',
    500: '#e271de',
    950: '#000000',
  },
}
SCSS
$custom: #e271de;
$custom-light: #ed9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#e271de",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 302.124,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.717,
    "c": 0.19163,
    "h": 328.7
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#E271DE
secondary
#C5EAC6
accent
#CE1E18
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271DE

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

Preview Lab → · Contrast checker → · Palette generator →

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