#E271EF#E271EF

#E271EF is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.207 H 323.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#E271EF
RGBrgb(226, 113, 239)
HSLhsl(294, 80%, 69%)
HSVhsv(294, 53%, 94%)
CMYKcmyk(5.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(65.13, 61.44, -44.61)
CIE-LCHlch(65.13, 75.93, 324.02°)
OKLaboklab(72.51% 0.166 -0.1233)
OKLCHoklch(72.51% 0.207 323.4)
XYZxyz(52.8476, 34.2136, 85.4648)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271EF #7EEF71
analogous
#A371EF #E271EF #EF71BD
triadic
#E271EF #EFE271 #71EFE2
tetradic
#E271EF #EFA371 #7EEF71 #71BDEF
square
#E271EF #EFA371 #7EEF71 #71BDEF
split-complementary
#E271EF #BDEF71 #71EFA3
monochromatic
#BB17CE #D73AE9 #E271EF #EDA8F5 #F8DFFB

Accessibility & contrast

On white

2.68
#E271EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#E271EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271EF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271EF#FFFFFF#000000##000000
##E271EF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#82A3EB
Tritanopia (blue-blind)
#E682A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e271ef;
/* rgb */ color: rgb(226, 113, 239);
/* oklch */ color: oklch(72.5% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#ee9ef4',
    500: '#e271ef',
    950: '#000000',
  },
}
SCSS
$custom: #e271ef;
$custom-light: #ee9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#e271ef",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 293.81,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.20679,
    "h": 323.4
  },
  "luminance": 0.34211
}

Semantic roles & 50–950 ramp

primary
#E271EF
secondary
#CFF0CB
accent
#DC091F
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271EF

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

Preview Lab → · Contrast checker → · Palette generator →

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