#EE87E2#EE87E2

#EE87E2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.4% C 0.167 H 331.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#EE87E2
RGBrgb(238, 135, 226)
HSLhsl(307, 75%, 73%)
HSVhsv(307, 43%, 93%)
CMYKcmyk(0%, 43.3%, 5%, 6.7%)
CIE-LABlab(70.18, 51.80, -29.46)
CIE-LCHlch(70.18, 59.59, 330.37°)
OKLaboklab(76.39% 0.1471 -0.08)
OKLCHoklch(76.39% 0.167 331.5)
XYZxyz(57.6508, 40.9992, 76.8138)
Luminance0.4100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE87E2 #87EE93
analogous
#C687EE #EE87E2 #EE87AE
triadic
#EE87E2 #E2EE87 #87E2EE
tetradic
#EE87E2 #EEC687 #87EE93 #87AEEE
square
#EE87E2 #EEC687 #87EE93 #87AEEE
split-complementary
#EE87E2 #AEEE87 #87EEC6
monochromatic
#DC1FC6 #E651D5 #EE87E2 #F6BDEF #FBE4F9

Accessibility & contrast

On white

2.28
#EE87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#EE87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE87E2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE87E2#FFFFFF#000000##000000
##EE87E21.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#F68EAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ee87e2;
/* rgb */ color: rgb(238, 135, 226);
/* oklch */ color: oklch(76.4% 0.167 331.5);
Tailwind
colors: {
  custom: {
    50: '#f5aceb',
    500: '#ee87e2',
    950: '#000000',
  },
}
SCSS
$custom: #ee87e2;
$custom-light: #f5aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#ee87e2",
  "rgb": {
    "r": 238,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 306.99,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.1674,
    "h": 331.5
  },
  "luminance": 0.40996
}

Semantic roles & 50–950 ramp

primary
#EE87E2
secondary
#D8F3DB
accent
#D7260E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EE87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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