#E291EC#E291EC

#E291EC is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.0% C 0.152 H 323.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#E291EC
RGBrgb(226, 145, 236)
HSLhsl(293, 71%, 75%)
HSVhsv(293, 39%, 93%)
CMYKcmyk(4.2%, 38.6%, 0%, 7.5%)
CIE-LABlab(71.20, 44.87, -33.49)
CIE-LCHlch(71.20, 55.99, 323.26°)
OKLaboklab(76.98% 0.1214 -0.0917)
OKLCHoklch(76.98% 0.152 323)
XYZxyz(56.6281, 42.4778, 84.5567)
Luminance0.4248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E291EC #9BEC91
analogous
#B591EC #E291EC #EC91C8
triadic
#E291EC #ECE291 #91ECE2
tetradic
#E291EC #ECB591 #9BEC91 #91C8EC
square
#E291EC #ECB591 #9BEC91 #91C8EC
split-complementary
#E291EC #C8EC91 #91ECB5
monochromatic
#C629DA #D45DE3 #E291EC #F0C5F5 #F8E5FA

Accessibility & contrast

On white

2.21
#E291EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#E291EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E291EC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E291EC#FFFFFF#000000##000000
##E291EC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#E59BB4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e291ec;
/* rgb */ color: rgb(226, 145, 236);
/* oklch */ color: oklch(77.0% 0.152 323.0);
Tailwind
colors: {
  custom: {
    50: '#ecb3f2',
    500: '#e291ec',
    950: '#000000',
  },
}
SCSS
$custom: #e291ec;
$custom-light: #ecb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e291ec",
  "rgb": {
    "r": 226,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 293.407,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76984,
    "c": 0.15213,
    "h": 323
  },
  "luminance": 0.42476
}

Semantic roles & 50–950 ramp

primary
#E291EC
secondary
#DCF2D9
accent
#D31328
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E291EC

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

Preview Lab → · Contrast checker → · Palette generator →

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