#E897F7#E897F7

#E897F7 is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.0% C 0.157 H 321.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#E897F7
RGBrgb(232, 151, 247)
HSLhsl(291, 86%, 78%)
HSVhsv(291, 39%, 97%)
CMYKcmyk(6.1%, 38.9%, 0%, 3.1%)
CIE-LABlab(73.55, 45.61, -35.80)
CIE-LCHlch(73.55, 57.98, 321.87°)
OKLaboklab(79.04% 0.122 -0.0982)
OKLCHoklch(79.04% 0.157 321.2)
XYZxyz(61.1318, 46.0065, 93.6376)
Luminance0.4600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897F7 #A6F797
analogous
#B897F7 #E897F7 #F797D6
triadic
#E897F7 #F7E897 #97F7E8
tetradic
#E897F7 #F7B897 #A6F797 #97D6F7
square
#E897F7 #F7B897 #A6F797 #97D6F7
split-complementary
#E897F7 #D6F797 #97F7B8
monochromatic
#CF25EE #DB5EF3 #E897F7 #F5D0FB #F9E3FD

Accessibility & contrast

On white

2.06
#E897F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#E897F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897F7
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897F7#FFFFFF#000000##000000
##E897F71.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFB
Deuteranopia (green-blind)
#A0B8F4
Tritanopia (blue-blind)
#EAA2BC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e897f7;
/* rgb */ color: rgb(232, 151, 247);
/* oklch */ color: oklch(79.0% 0.157 321.2);
Tailwind
colors: {
  custom: {
    50: '#f1b7fa',
    500: '#e897f7',
    950: '#000000',
  },
}
SCSS
$custom: #e897f7;
$custom-light: #f1b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e897f7",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 290.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79042,
    "c": 0.15655,
    "h": 321.2
  },
  "luminance": 0.46004
}

Semantic roles & 50–950 ramp

primary
#E897F7
secondary
#DBF5D6
accent
#E20326
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E897F7

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

Preview Lab → · Contrast checker → · Palette generator →

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