#E271F2#E271F2

#E271F2 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.7% C 0.210 H 322.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#E271F2
RGBrgb(226, 113, 242)
HSLhsl(293, 83%, 70%)
HSVhsv(293, 53%, 95%)
CMYKcmyk(6.6%, 53.3%, 0%, 5.1%)
CIE-LABlab(65.27, 61.99, -46.04)
CIE-LCHlch(65.27, 77.22, 323.40°)
OKLaboklab(72.66% 0.1663 -0.1275)
OKLCHoklch(72.66% 0.21 322.5)
XYZxyz(53.2945, 34.3923, 87.8183)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271F2 #81F271
analogous
#A271F2 #E271F2 #F271C2
triadic
#E271F2 #F2E271 #71F2E2
tetradic
#E271F2 #F2A271 #81F271 #71C2F2
square
#E271F2 #F2A271 #81F271 #71C2F2
split-complementary
#E271F2 #C2F271 #71F2A2
monochromatic
#BD14D5 #D739ED #E271F2 #EDA9F7 #F9E1FC

Accessibility & contrast

On white

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

On black

7.88
#E271F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271F2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271F2#FFFFFF#000000##000000
##E271F21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#E583A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e271f2;
/* rgb */ color: rgb(226, 113, 242);
/* oklch */ color: oklch(72.7% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#ee9ef7',
    500: '#e271f2',
    950: '#000000',
  },
}
SCSS
$custom: #e271f2;
$custom-light: #ee9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e271f2",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 292.558,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.20953,
    "h": 322.5
  },
  "luminance": 0.3439
}

Semantic roles & 50–950 ramp

primary
#E271F2
secondary
#D2F2CD
accent
#E00621
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E271F2

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

Preview Lab → · Contrast checker → · Palette generator →

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