#E897FD#E897FD

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

Color values

HEX#E897FD
RGBrgb(232, 151, 253)
HSLhsl(288, 96%, 79%)
HSVhsv(288, 40%, 99%)
CMYKcmyk(8.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(73.79, 46.76, -38.67)
CIE-LCHlch(73.79, 60.68, 320.41°)
OKLaboklab(79.31% 0.1232 -0.1064)
OKLCHoklch(79.31% 0.163 319.2)
XYZxyz(62.0726, 46.3828, 98.5924)
Luminance0.4638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FD #ACFD97
analogous
#B597FD #E897FD #FD97DF
triadic
#E897FD #FDE897 #97FDE8
tetradic
#E897FD #FDB597 #ACFD97 #97DFFD
square
#E897FD #FDB597 #ACFD97 #97DFFD
split-complementary
#E897FD #DFFD97 #97FDB5
monochromatic
#CD1FFB #DB5BFC #E897FD #F5D3FE #F8E1FE

Accessibility & contrast

On white

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

On black

10.28
#E897FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FD
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FD#FFFFFF#000000##000000
##E897FD1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e897fd;
/* rgb */ color: rgb(232, 151, 253);
/* oklch */ color: oklch(79.3% 0.163 319.2);
Tailwind
colors: {
  custom: {
    50: '#f1b7fe',
    500: '#e897fd',
    950: '#000000',
  },
}
SCSS
$custom: #e897fd;
$custom-light: #f1b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e897fd",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 287.647,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79305,
    "c": 0.16276,
    "h": 319.2
  },
  "luminance": 0.46381
}

Semantic roles & 50–950 ramp

primary
#E897FD
secondary
#DBF7D4
accent
#E6002F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E897FD

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

Preview Lab → · Contrast checker → · Palette generator →

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