#E271DC#E271DC

#E271DC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.190 H 329.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#E271DC
RGBrgb(226, 113, 220)
HSLhsl(303, 66%, 66%)
HSVhsv(303, 50%, 89%)
CMYKcmyk(0%, 50%, 2.7%, 11.4%)
CIE-LABlab(64.28, 58.09, -35.38)
CIE-LCHlch(64.28, 68.02, 328.65°)
OKLaboklab(71.61% 0.1634 -0.0968)
OKLCHoklch(71.61% 0.19 329.4)
XYZxyz(50.1868, 33.1493, 71.4513)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271DC #71E277
analogous
#B071E2 #E271DC #E271A4
triadic
#E271DC #DCE271 #71DCE2
tetradic
#E271DC #E2B071 #71E277 #71A4E2
square
#E271DC #E2B071 #71E277 #71A4E2
split-complementary
#E271DC #A4E271 #71E2B0
monochromatic
#B425AC #D83ECF #E271DC #ECA4E9 #F7D7F5

Accessibility & contrast

On white

2.75
#E271DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#E271DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271DC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271DC#FFFFFF#000000##000000
##E271DC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92E0
Deuteranopia (green-blind)
#8BA1D9
Tritanopia (blue-blind)
#E97B9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e271dc;
/* rgb */ color: rgb(226, 113, 220);
/* oklch */ color: oklch(71.6% 0.190 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ee7',
    500: '#e271dc',
    950: '#000000',
  },
}
SCSS
$custom: #e271dc;
$custom-light: #ed9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e271dc",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 303.186,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.18991,
    "h": 329.4
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

primary
#E271DC
secondary
#C5EAC7
accent
#CE2118
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E271DC

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

Preview Lab → · Contrast checker → · Palette generator →

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