#E291F7#E291F7

#E291F7 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.5% C 0.163 H 319.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#E291F7
RGBrgb(226, 145, 247)
HSLhsl(288, 86%, 77%)
HSVhsv(288, 41%, 97%)
CMYKcmyk(8.5%, 41.3%, 0%, 3.1%)
CIE-LABlab(71.65, 46.98, -38.80)
CIE-LCHlch(71.65, 60.93, 320.44°)
OKLaboklab(77.47% 0.1236 -0.1068)
OKLCHoklch(77.47% 0.163 319.2)
XYZxyz(58.2757, 43.1368, 93.2341)
Luminance0.4314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E291F7 #A6F791
analogous
#AF91F7 #E291F7 #F791D9
triadic
#E291F7 #F7E291 #91F7E2
tetradic
#E291F7 #F7AF91 #A6F791 #91D9F7
square
#E291F7 #F7AF91 #A6F791 #91D9F7
split-complementary
#E291F7 #D9F791 #91F7AF
monochromatic
#C41FEF #D358F3 #E291F7 #F1CAFB #F7E2FD

Accessibility & contrast

On white

2.18
#E291F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#E291F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E291F7
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E291F7#FFFFFF#000000##000000
##E291F71.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82AAFB
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#E39EB8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e291f7;
/* rgb */ color: rgb(226, 145, 247);
/* oklch */ color: oklch(77.5% 0.163 319.2);
Tailwind
colors: {
  custom: {
    50: '#edb3fa',
    500: '#e291f7',
    950: '#000000',
  },
}
SCSS
$custom: #e291f7;
$custom-light: #edb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e291f7",
  "rgb": {
    "r": 226,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 287.647,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77468,
    "c": 0.1634,
    "h": 319.2
  },
  "luminance": 0.43135
}

Semantic roles & 50–950 ramp

primary
#E291F7
secondary
#DCF5D6
accent
#E30331
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E291F7

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

Preview Lab → · Contrast checker → · Palette generator →

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