#E291F2#E291F2

#E291F2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.2% C 0.158 H 320.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#E291F2
RGBrgb(226, 145, 242)
HSLhsl(290, 79%, 76%)
HSVhsv(290, 40%, 95%)
CMYKcmyk(6.6%, 40.1%, 0%, 5.1%)
CIE-LABlab(71.44, 46.01, -36.40)
CIE-LCHlch(71.44, 58.67, 321.65°)
OKLaboklab(77.24% 0.1227 -0.0999)
OKLCHoklch(77.24% 0.158 320.8)
XYZxyz(57.5145, 42.8323, 89.2250)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E291F2 #A1F291
analogous
#B191F2 #E291F2 #F291D1
triadic
#E291F2 #F2E291 #91F2E2
tetradic
#E291F2 #F2B191 #A1F291 #91D1F2
square
#E291F2 #F2B191 #A1F291 #91D1F2
split-complementary
#E291F2 #D1F291 #91F2B1
monochromatic
#C524E5 #D45AEC #E291F2 #F0C8F8 #F8E4FC

Accessibility & contrast

On white

2.20
#E291F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#E291F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E291F2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E291F2#FFFFFF#000000##000000
##E291F21.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#99B2EF
Tritanopia (blue-blind)
#E49DB6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e291f2;
/* rgb */ color: rgb(226, 145, 242);
/* oklch */ color: oklch(77.2% 0.158 320.8);
Tailwind
colors: {
  custom: {
    50: '#ecb3f6',
    500: '#e291f2',
    950: '#000000',
  },
}
SCSS
$custom: #e291f2;
$custom-light: #ecb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e291f2",
  "rgb": {
    "r": 226,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 290.103,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.15823,
    "h": 320.8
  },
  "luminance": 0.4283
}

Semantic roles & 50–950 ramp

primary
#E291F2
secondary
#DCF4D7
accent
#DB0A2D
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E291F2

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

Preview Lab → · Contrast checker → · Palette generator →

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