#EE87F1#EE87F1

#EE87F1 is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.0% C 0.181 H 326.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EE87F1
RGBrgb(238, 135, 241)
HSLhsl(298, 79%, 74%)
HSVhsv(298, 44%, 95%)
CMYKcmyk(1.2%, 44%, 0%, 5.5%)
CIE-LABlab(70.77, 54.42, -36.78)
CIE-LCHlch(70.77, 65.68, 325.95°)
OKLaboklab(77.03% 0.1501 -0.1008)
OKLCHoklch(77.03% 0.181 326.1)
XYZxyz(59.7998, 41.8588, 88.1317)
Luminance0.4186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE87F1 #8AF187
analogous
#B987F1 #EE87F1 #F187BF
triadic
#EE87F1 #F1EE87 #87F1EE
tetradic
#EE87F1 #F1B987 #8AF187 #87BFF1
square
#EE87F1 #F1B987 #8AF187 #87BFF1
split-complementary
#EE87F1 #BFF187 #87F1B9
monochromatic
#DD1AE3 #E650EB #EE87F1 #F6BEF7 #FBE4FC

Accessibility & contrast

On white

2.24
#EE87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#EE87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE87F1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE87F1#FFFFFF#000000##000000
##EE87F11.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#F392B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ee87f1;
/* rgb */ color: rgb(238, 135, 241);
/* oklch */ color: oklch(77.0% 0.181 326.1);
Tailwind
colors: {
  custom: {
    50: '#f5adf6',
    500: '#ee87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ee87f1;
$custom-light: #f5adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ee87f1",
  "rgb": {
    "r": 238,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 298.302,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.18076,
    "h": 326.1
  },
  "luminance": 0.41856
}

Semantic roles & 50–950 ramp

primary
#EE87F1
secondary
#D8F4D7
accent
#DB0A10
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EE87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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