#EE87F8#EE87F8

#EE87F8 is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.3% C 0.187 H 323.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#EE87F8
RGBrgb(238, 135, 248)
HSLhsl(295, 89%, 75%)
HSVhsv(295, 46%, 97%)
CMYKcmyk(4%, 45.6%, 0%, 2.7%)
CIE-LABlab(71.07, 55.68, -40.15)
CIE-LCHlch(71.07, 68.65, 324.21°)
OKLaboklab(77.35% 0.1513 -0.1104)
OKLCHoklch(77.35% 0.187 323.9)
XYZxyz(60.8655, 42.2851, 93.7445)
Luminance0.4228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE87F8 #91F887
analogous
#B587F8 #EE87F8 #F887CA
triadic
#EE87F8 #F8EE87 #87F8EE
tetradic
#EE87F8 #F8B587 #91F887 #87CAF8
square
#EE87F8 #F8B587 #91F887 #87CAF8
split-complementary
#EE87F8 #CAF887 #87F8B5
monochromatic
#DE13F1 #E64DF5 #EE87F8 #F6C1FB #FBE2FD

Accessibility & contrast

On white

2.22
#EE87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#EE87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE87F8
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE87F8#FFFFFF#000000##000000
##EE87F81.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#97B2F5
Tritanopia (blue-blind)
#F294B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ee87f8;
/* rgb */ color: rgb(238, 135, 248);
/* oklch */ color: oklch(77.3% 0.187 323.9);
Tailwind
colors: {
  custom: {
    50: '#f5adfb',
    500: '#ee87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ee87f8;
$custom-light: #f5adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ee87f8",
  "rgb": {
    "r": 238,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 294.69,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77347,
    "c": 0.18729,
    "h": 323.9
  },
  "luminance": 0.42282
}

Semantic roles & 50–950 ramp

primary
#EE87F8
secondary
#D8F5D6
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EE87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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