#E271F1#E271F1

#E271F1 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.209 H 322.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#E271F1
RGBrgb(226, 113, 241)
HSLhsl(293, 82%, 69%)
HSVhsv(293, 53%, 95%)
CMYKcmyk(6.2%, 53.1%, 0%, 5.5%)
CIE-LABlab(65.23, 61.81, -45.56)
CIE-LCHlch(65.23, 76.79, 323.60°)
OKLaboklab(72.61% 0.1662 -0.1261)
OKLCHoklch(72.61% 0.209 322.8)
XYZxyz(53.1447, 34.3324, 87.0295)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F1 #80F171
analogous
#A271F1 #E271F1 #F171C0
triadic
#E271F1 #F1E271 #71F1E2
tetradic
#E271F1 #F1A271 #80F171 #71C0F1
square
#E271F1 #F1A271 #80F171 #71C0F1
split-complementary
#E271F1 #C0F171 #71F1A2
monochromatic
#BD15D3 #D739EC #E271F1 #EDA9F6 #F9E0FC

Accessibility & contrast

On white

2.67
#E271F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#E271F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F1#FFFFFF#000000##000000
##E271F11.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F5
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#E582A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e271f1;
/* rgb */ color: rgb(226, 113, 241);
/* oklch */ color: oklch(72.6% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#ee9ef6',
    500: '#e271f1',
    950: '#000000',
  },
}
SCSS
$custom: #e271f1;
$custom-light: #ee9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f1",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 292.969,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72612,
    "c": 0.20861,
    "h": 322.8
  },
  "luminance": 0.3433
}

Semantic roles & 50–950 ramp

primary
#E271F1
secondary
#D1F1CC
accent
#DE0720
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F1

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

Preview Lab → · Contrast checker → · Palette generator →

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