#E271FF#E271FF

#E271FF is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.3% C 0.222 H 319.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#E271FF
RGBrgb(226, 113, 255)
HSLhsl(288, 100%, 72%)
HSVhsv(288, 56%, 100%)
CMYKcmyk(11.4%, 55.7%, 0%, 0%)
CIE-LABlab(65.91, 64.42, -52.19)
CIE-LCHlch(65.91, 82.91, 320.98°)
OKLaboklab(73.33% 0.1674 -0.1453)
OKLCHoklch(73.33% 0.222 319)
XYZxyz(55.3168, 35.2013, 98.4690)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FF #8EFF71
analogous
#9B71FF #E271FF #FF71D5
triadic
#E271FF #FFE271 #71FFE2
tetradic
#E271FF #FF9B71 #8EFF71 #71D5FF
square
#E271FF #FF9B71 #8EFF71 #71D5FF
split-complementary
#E271FF #D5FF71 #71FF9B
monochromatic
#C300F6 #D534FF #E271FF #EEAEFF #F9E0FF

Accessibility & contrast

On white

2.61
#E271FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#E271FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FF#FFFFFF#000000##000000
##E271FF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#E287AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e271ff;
/* rgb */ color: rgb(226, 113, 255);
/* oklch */ color: oklch(73.3% 0.222 319.0);
Tailwind
colors: {
  custom: {
    50: '#ee9fff',
    500: '#e271ff',
    950: '#000000',
  },
}
SCSS
$custom: #e271ff;
$custom-light: #ee9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#e271ff",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 287.746,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73332,
    "c": 0.22165,
    "h": 319
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#E271FF
secondary
#DBF7D4
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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