#E897FF#E897FF

#E897FF is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.165 H 318.5°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#E897FF
RGBrgb(232, 151, 255)
HSLhsl(287, 100%, 80%)
HSVhsv(287, 41%, 100%)
CMYKcmyk(9%, 40.8%, 0%, 0%)
CIE-LABlab(73.88, 47.15, -39.63)
CIE-LCHlch(73.88, 61.59, 319.95°)
OKLaboklab(79.39% 0.1236 -0.1091)
OKLCHoklch(79.39% 0.165 318.5)
XYZxyz(62.3929, 46.5109, 100.2792)
Luminance0.4651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897FF #AEFF97
analogous
#B497FF #E897FF #FF97E2
triadic
#E897FF #FFE897 #97FFE8
tetradic
#E897FF #FFB497 #AEFF97 #97E2FF
square
#E897FF #FFB497 #AEFF97 #97E2FF
split-complementary
#E897FF #E2FF97 #97FFB4
monochromatic
#CD1DFF #DA5AFF #E897FF #F6D4FF #F8E0FF

Accessibility & contrast

On white

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

On black

10.30
#E897FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897FF
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897FF#FFFFFF#000000##000000
##E897FF1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#9CB8FC
Tritanopia (blue-blind)
#E8A4BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #e897ff;
/* rgb */ color: rgb(232, 151, 255);
/* oklch */ color: oklch(79.4% 0.165 318.5);
Tailwind
colors: {
  custom: {
    50: '#f1b7ff',
    500: '#e897ff',
    950: '#000000',
  },
}
SCSS
$custom: #e897ff;
$custom-light: #f1b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e897ff",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 286.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.16485,
    "h": 318.5
  },
  "luminance": 0.46509
}

Semantic roles & 50–950 ramp

primary
#E897FF
secondary
#DCF7D4
accent
#E60033
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E897FF

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

Preview Lab → · Contrast checker → · Palette generator →

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