#E897FA#E897FA

#E897FA is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.2% C 0.160 H 320.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#E897FA
RGBrgb(232, 151, 250)
HSLhsl(289, 91%, 79%)
HSVhsv(289, 40%, 98%)
CMYKcmyk(7.2%, 39.6%, 0%, 2%)
CIE-LABlab(73.67, 46.18, -37.24)
CIE-LCHlch(73.67, 59.32, 321.12°)
OKLaboklab(79.17% 0.1226 -0.1023)
OKLCHoklch(79.17% 0.16 320.2)
XYZxyz(61.5985, 46.1932, 96.0953)
Luminance0.4619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FA #A9FA97
analogous
#B697FA #E897FA #FA97DA
triadic
#E897FA #FAE897 #97FAE8
tetradic
#E897FA #FAB697 #A9FA97 #97DAFA
square
#E897FA #FAB697 #A9FA97 #97DAFA
split-complementary
#E897FA #DAFA97 #97FAB6
monochromatic
#CE22F4 #DB5DF7 #E897FA #F5D1FD #F9E2FE

Accessibility & contrast

On white

2.05
#E897FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#E897FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FA#FFFFFF#000000##000000
##E897FA1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFE
Deuteranopia (green-blind)
#9FB8F7
Tritanopia (blue-blind)
#E9A3BD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e897fa;
/* rgb */ color: rgb(232, 151, 250);
/* oklch */ color: oklch(79.2% 0.160 320.2);
Tailwind
colors: {
  custom: {
    50: '#f1b7fc',
    500: '#e897fa',
    950: '#000000',
  },
}
SCSS
$custom: #e897fa;
$custom-light: #f1b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e897fa",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 289.091,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.15964,
    "h": 320.2
  },
  "luminance": 0.46191
}

Semantic roles & 50–950 ramp

primary
#E897FA
secondary
#DBF6D5
accent
#E6002A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E897FA

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

Preview Lab → · Contrast checker → · Palette generator →

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