#E271DF#E271DF

#E271DF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.193 H 328.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#E271DF
RGBrgb(226, 113, 223)
HSLhsl(302, 66%, 66%)
HSVhsv(302, 50%, 89%)
CMYKcmyk(0%, 50%, 1.3%, 11.4%)
CIE-LABlab(64.41, 58.60, -36.85)
CIE-LCHlch(64.41, 69.23, 327.84°)
OKLaboklab(71.75% 0.1639 -0.101)
OKLCHoklch(71.75% 0.193 328.3)
XYZxyz(50.5877, 33.3096, 73.5626)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271DF #71E274
analogous
#AD71E2 #E271DF #E271A7
triadic
#E271DF #DFE271 #71DFE2
tetradic
#E271DF #E2AD71 #71E274 #71A7E2
square
#E271DF #E2AD71 #71E274 #71A7E2
split-complementary
#E271DF #A7E271 #71E2AD
monochromatic
#B425B0 #D83ED4 #E271DF #ECA4EA #F7D7F6

Accessibility & contrast

On white

2.74
#E271DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#E271DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271DF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271DF#FFFFFF#000000##000000
##E271DF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E87C9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e271df;
/* rgb */ color: rgb(226, 113, 223);
/* oklch */ color: oklch(71.7% 0.193 328.3);
Tailwind
colors: {
  custom: {
    50: '#ed9ee9',
    500: '#e271df',
    950: '#000000',
  },
}
SCSS
$custom: #e271df;
$custom-light: #ed9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#e271df",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 301.593,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.19251,
    "h": 328.3
  },
  "luminance": 0.33307
}

Semantic roles & 50–950 ramp

primary
#E271DF
secondary
#C5EAC6
accent
#CE1C18
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271DF

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

Preview Lab → · Contrast checker → · Palette generator →

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