#E897FE#E897FE

#E897FE is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.3% C 0.164 H 318.9°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#E897FE
RGBrgb(232, 151, 254)
HSLhsl(287, 98%, 79%)
HSVhsv(287, 41%, 100%)
CMYKcmyk(8.7%, 40.6%, 0%, 0.4%)
CIE-LABlab(73.83, 46.96, -39.15)
CIE-LCHlch(73.83, 61.14, 320.18°)
OKLaboklab(79.35% 0.1234 -0.1078)
OKLCHoklch(79.35% 0.164 318.9)
XYZxyz(62.2323, 46.4467, 99.4336)
Luminance0.4644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FE #ADFE97
analogous
#B597FE #E897FE #FE97E1
triadic
#E897FE #FEE897 #97FEE8
tetradic
#E897FE #FEB597 #ADFE97 #97E1FE
square
#E897FE #FEB597 #ADFE97 #97E1FE
split-complementary
#E897FE #E1FE97 #97FEB5
monochromatic
#CD1EFD #DB5AFD #E897FE #F5D4FF #F8E1FF

Accessibility & contrast

On white

2.04
#E897FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#E897FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FE
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FE#FFFFFF#000000##000000
##E897FE1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#9DB8FB
Tritanopia (blue-blind)
#E9A4BF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e897fe;
/* rgb */ color: rgb(232, 151, 254);
/* oklch */ color: oklch(79.3% 0.164 318.9);
Tailwind
colors: {
  custom: {
    50: '#f1b7ff',
    500: '#e897fe',
    950: '#000000',
  },
}
SCSS
$custom: #e897fe;
$custom-light: #f1b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e897fe",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 287.184,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79349,
    "c": 0.1638,
    "h": 318.9
  },
  "luminance": 0.46445
}

Semantic roles & 50–950 ramp

primary
#E897FE
secondary
#DBF7D4
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E897FE

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

Preview Lab → · Contrast checker → · Palette generator →

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