#E271EB#E271EB

#E271EB is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.3% C 0.203 H 324.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#E271EB
RGBrgb(226, 113, 235)
HSLhsl(296, 75%, 68%)
HSVhsv(296, 52%, 92%)
CMYKcmyk(3.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(64.95, 60.72, -42.69)
CIE-LCHlch(64.95, 74.22, 324.89°)
OKLaboklab(72.32% 0.1655 -0.1178)
OKLCHoklch(72.32% 0.203 324.6)
XYZxyz(52.2633, 33.9798, 82.3870)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271EB #7AEB71
analogous
#A571EB #E271EB #EB71B7
triadic
#E271EB #EBE271 #71EBE2
tetradic
#E271EB #EBA571 #7AEB71 #71B7EB
square
#E271EB #EBA571 #7AEB71 #71B7EB
split-complementary
#E271EB #B7EB71 #71EBA5
monochromatic
#B91CC6 #D73BE3 #E271EB #EDA7F3 #F8DCFA

Accessibility & contrast

On white

2.69
#E271EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#E271EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271EB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271EB#FFFFFF#000000##000000
##E271EB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#84A2E7
Tritanopia (blue-blind)
#E680A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e271eb;
/* rgb */ color: rgb(226, 113, 235);
/* oklch */ color: oklch(72.3% 0.203 324.6);
Tailwind
colors: {
  custom: {
    50: '#ee9ef2',
    500: '#e271eb',
    950: '#000000',
  },
}
SCSS
$custom: #e271eb;
$custom-light: #ee9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#e271eb",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 295.574,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.20315,
    "h": 324.6
  },
  "luminance": 0.33977
}

Semantic roles & 50–950 ramp

primary
#E271EB
secondary
#CCEEC9
accent
#D70E1D
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271EB

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

Preview Lab → · Contrast checker → · Palette generator →

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