#E271DB#E271DB

#E271DB is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.189 H 329.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#E271DB
RGBrgb(226, 113, 219)
HSLhsl(304, 66%, 66%)
HSVhsv(304, 50%, 89%)
CMYKcmyk(0%, 50%, 3.1%, 11.4%)
CIE-LABlab(64.24, 57.92, -34.89)
CIE-LCHlch(64.24, 67.61, 328.93°)
OKLaboklab(71.56% 0.1632 -0.0954)
OKLCHoklch(71.56% 0.189 329.7)
XYZxyz(50.0548, 33.0965, 70.7559)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271DB #71E278
analogous
#B171E2 #E271DB #E271A3
triadic
#E271DB #DBE271 #71DBE2
tetradic
#E271DB #E2B171 #71E278 #71A3E2
square
#E271DB #E2B171 #71E278 #71A3E2
split-complementary
#E271DB #A3E271 #71E2B1
monochromatic
#B425AB #D83ECE #E271DB #ECA4E8 #F7D7F5

Accessibility & contrast

On white

2.76
#E271DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#E271DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271DB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271DB#FFFFFF#000000##000000
##E271DB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#E97B9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e271db;
/* rgb */ color: rgb(226, 113, 219);
/* oklch */ color: oklch(71.6% 0.189 329.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ee6',
    500: '#e271db',
    950: '#000000',
  },
}
SCSS
$custom: #e271db;
$custom-light: #ed9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#e271db",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 303.717,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.18906,
    "h": 329.7
  },
  "luminance": 0.33093
}

Semantic roles & 50–950 ramp

primary
#E271DB
secondary
#C5EAC7
accent
#CE2318
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271DB

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

Preview Lab → · Contrast checker → · Palette generator →

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