#E271FC#E271FC

#E271FC is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.2% C 0.219 H 319.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#E271FC
RGBrgb(226, 113, 252)
HSLhsl(289, 96%, 72%)
HSVhsv(289, 55%, 99%)
CMYKcmyk(10.3%, 55.2%, 0%, 1.2%)
CIE-LABlab(65.76, 63.85, -50.78)
CIE-LCHlch(65.76, 81.58, 321.50°)
OKLaboklab(73.17% 0.1672 -0.1412)
OKLCHoklch(73.17% 0.219 319.8)
XYZxyz(54.8377, 35.0096, 95.9455)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271FC #8BFC71
analogous
#9D71FC #E271FC #FC71D1
triadic
#E271FC #FCE271 #71FCE2
tetradic
#E271FC #FC9D71 #8BFC71 #71D1FC
square
#E271FC #FC9D71 #8BFC71 #71D1FC
split-complementary
#E271FC #D1FC71 #71FC9D
monochromatic
#C205EE #D635FB #E271FC #EEADFD #F9E1FE

Accessibility & contrast

On white

2.62
#E271FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#E271FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271FC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271FC#FFFFFF#000000##000000
##E271FC1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#E386AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e271fc;
/* rgb */ color: rgb(226, 113, 252);
/* oklch */ color: oklch(73.2% 0.219 319.8);
Tailwind
colors: {
  custom: {
    50: '#ee9ffe',
    500: '#e271fc',
    950: '#000000',
  },
}
SCSS
$custom: #e271fc;
$custom-light: #ee9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e271fc",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 288.777,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.21883,
    "h": 319.8
  },
  "luminance": 0.35007
}

Semantic roles & 50–950 ramp

primary
#E271FC
secondary
#D9F6D3
accent
#E6002B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E271FC

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

Preview Lab → · Contrast checker → · Palette generator →

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