#E897FB#E897FB

#E897FB is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.2% C 0.161 H 319.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#E897FB
RGBrgb(232, 151, 251)
HSLhsl(289, 93%, 79%)
HSVhsv(289, 40%, 98%)
CMYKcmyk(7.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(73.71, 46.37, -37.72)
CIE-LCHlch(73.71, 59.78, 320.88°)
OKLaboklab(79.22% 0.1228 -0.1036)
OKLCHoklch(79.22% 0.161 319.8)
XYZxyz(61.7557, 46.2560, 96.9233)
Luminance0.4625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FB #AAFB97
analogous
#B697FB #E897FB #FB97DC
triadic
#E897FB #FBE897 #97FBE8
tetradic
#E897FB #FBB697 #AAFB97 #97DCFB
square
#E897FB #FBB697 #AAFB97 #97DCFB
split-complementary
#E897FB #DCFB97 #97FBB6
monochromatic
#CE21F6 #DB5CF9 #E897FB #F5D2FD #F8E2FE

Accessibility & contrast

On white

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

On black

10.25
#E897FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FB
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FB#FFFFFF#000000##000000
##E897FB1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#E9A3BD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e897fb;
/* rgb */ color: rgb(232, 151, 251);
/* oklch */ color: oklch(79.2% 0.161 319.8);
Tailwind
colors: {
  custom: {
    50: '#f1b7fd',
    500: '#e897fb',
    950: '#000000',
  },
}
SCSS
$custom: #e897fb;
$custom-light: #f1b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e897fb",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 288.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79216,
    "c": 0.16067,
    "h": 319.8
  },
  "luminance": 0.46254
}

Semantic roles & 50–950 ramp

primary
#E897FB
secondary
#DBF6D5
accent
#E6002C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E897FB

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

Preview Lab → · Contrast checker → · Palette generator →

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