#E897FC#E897FC

#E897FC is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.3% C 0.162 H 319.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#E897FC
RGBrgb(232, 151, 252)
HSLhsl(288, 94%, 79%)
HSVhsv(288, 40%, 99%)
CMYKcmyk(7.9%, 40.1%, 0%, 1.2%)
CIE-LABlab(73.75, 46.57, -38.20)
CIE-LCHlch(73.75, 60.23, 320.64°)
OKLaboklab(79.26% 0.123 -0.105)
OKLCHoklch(79.26% 0.162 319.5)
XYZxyz(61.9137, 46.3193, 97.7557)
Luminance0.4632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FC #ABFC97
analogous
#B697FC #E897FC #FC97DE
triadic
#E897FC #FCE897 #97FCE8
tetradic
#E897FC #FCB697 #ABFC97 #97DEFC
square
#E897FC #FCB697 #ABFC97 #97DEFC
split-complementary
#E897FC #DEFC97 #97FCB6
monochromatic
#CE20F9 #DB5CFA #E897FC #F5D2FE #F8E1FE

Accessibility & contrast

On white

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

On black

10.26
#E897FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FC
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FC#FFFFFF#000000##000000
##E897FC1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e897fc;
/* rgb */ color: rgb(232, 151, 252);
/* oklch */ color: oklch(79.3% 0.162 319.5);
Tailwind
colors: {
  custom: {
    50: '#f1b7fd',
    500: '#e897fc',
    950: '#000000',
  },
}
SCSS
$custom: #e897fc;
$custom-light: #f1b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e897fc",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 288.119,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7926,
    "c": 0.16171,
    "h": 319.5
  },
  "luminance": 0.46317
}

Semantic roles & 50–950 ramp

primary
#E897FC
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E897FC

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

Preview Lab → · Contrast checker → · Palette generator →

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