#E271D8#E271D8

#E271D8 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.187 H 330.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#E271D8
RGBrgb(226, 113, 216)
HSLhsl(305, 66%, 66%)
HSVhsv(305, 50%, 89%)
CMYKcmyk(0%, 50%, 4.4%, 11.4%)
CIE-LABlab(64.11, 57.41, -33.41)
CIE-LCHlch(64.11, 66.42, 329.80°)
OKLaboklab(71.43% 0.1627 -0.0912)
OKLCHoklch(71.43% 0.187 330.7)
XYZxyz(49.6634, 32.9399, 68.6946)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271D8 #71E27B
analogous
#B471E2 #E271D8 #E271A0
triadic
#E271D8 #D8E271 #71D8E2
tetradic
#E271D8 #E2B471 #71E27B #71A0E2
square
#E271D8 #E2B471 #71E27B #71A0E2
split-complementary
#E271D8 #A0E271 #71E2B4
monochromatic
#B425A7 #D83ECA #E271D8 #ECA4E6 #F7D7F4

Accessibility & contrast

On white

2.77
#E271D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#E271D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271D8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271D8#FFFFFF#000000##000000
##E271D81.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C91DB
Deuteranopia (green-blind)
#8DA1D5
Tritanopia (blue-blind)
#EA7A9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e271d8;
/* rgb */ color: rgb(226, 113, 216);
/* oklch */ color: oklch(71.4% 0.187 330.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ee4',
    500: '#e271d8',
    950: '#000000',
  },
}
SCSS
$custom: #e271d8;
$custom-light: #ed9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#e271d8",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 305.31,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71427,
    "c": 0.18652,
    "h": 330.7
  },
  "luminance": 0.32937
}

Semantic roles & 50–950 ramp

primary
#E271D8
secondary
#C5EAC8
accent
#CE2818
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F15
muted
#857F84

Preview Lab

Preview with #E271D8

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

Preview Lab → · Contrast checker → · Palette generator →

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