#E897EF#E897EF

#E897EF is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.7% C 0.148 H 324.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#E897EF
RGBrgb(232, 151, 239)
HSLhsl(295, 73%, 76%)
HSVhsv(295, 37%, 94%)
CMYKcmyk(2.9%, 36.8%, 0%, 6.3%)
CIE-LABlab(73.24, 44.10, -31.93)
CIE-LCHlch(73.24, 54.45, 324.10°)
OKLaboklab(78.7% 0.1202 -0.0872)
OKLCHoklch(78.7% 0.148 324.1)
XYZxyz(59.9237, 45.5233, 87.2750)
Luminance0.4552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E897EF #9EEF97
analogous
#BC97EF #E897EF #EF97CA
triadic
#E897EF #EFE897 #97EFE8
tetradic
#E897EF #EFBC97 #9EEF97 #97CAEF
square
#E897EF #EFBC97 #9EEF97 #97CAEF
split-complementary
#E897EF #CAEF97 #97EFBC
monochromatic
#D12DDF #DC62E7 #E897EF #F4CCF7 #F9E4FB

Accessibility & contrast

On white

2.08
#E897EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#E897EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E897EF
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E897EF#FFFFFF#000000##000000
##E897EF1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF2
Deuteranopia (green-blind)
#A3B7EC
Tritanopia (blue-blind)
#ECA0B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e897ef;
/* rgb */ color: rgb(232, 151, 239);
/* oklch */ color: oklch(78.7% 0.148 324.1);
Tailwind
colors: {
  custom: {
    50: '#f0b7f4',
    500: '#e897ef',
    950: '#000000',
  },
}
SCSS
$custom: #e897ef;
$custom-light: #f0b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e897ef",
  "rgb": {
    "r": 232,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 295.227,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78701,
    "c": 0.14849,
    "h": 324.1
  },
  "luminance": 0.45521
}

Semantic roles & 50–950 ramp

primary
#E897EF
secondary
#DAF3D8
accent
#D51020
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E897EF

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

Preview Lab → · Contrast checker → · Palette generator →

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