#E187FB#E187FB

#E187FB is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.0% C 0.183 H 318.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#E187FB
RGBrgb(225, 135, 251)
HSLhsl(287, 94%, 76%)
HSVhsv(287, 46%, 98%)
CMYKcmyk(10.4%, 46.2%, 0%, 1.6%)
CIE-LABlab(69.68, 52.63, -44.06)
CIE-LCHlch(69.68, 68.63, 320.06°)
OKLaboklab(76.03% 0.137 -0.1219)
OKLCHoklch(76.03% 0.183 318.3)
XYZxyz(57.1255, 40.3025, 96.0181)
Luminance0.4030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E187FB #A1FB87
analogous
#A787FB #E187FB #FB87DB
triadic
#E187FB #FBE187 #87FBE1
tetradic
#E187FB #FBA787 #A1FB87 #87DBFB
square
#E187FB #FBA787 #A1FB87 #87DBFB
split-complementary
#E187FB #DBFB87 #87FBA7
monochromatic
#C311F7 #D24CF9 #E187FB #F0C2FD #F8E1FE

Accessibility & contrast

On white

2.32
#E187FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#E187FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E187FB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E187FB#FFFFFF#000000##000000
##E187FB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#E197B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e187fb;
/* rgb */ color: rgb(225, 135, 251);
/* oklch */ color: oklch(76.0% 0.183 318.3);
Tailwind
colors: {
  custom: {
    50: '#ecacfd',
    500: '#e187fb',
    950: '#000000',
  },
}
SCSS
$custom: #e187fb;
$custom-light: #ecacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#e187fb",
  "rgb": {
    "r": 225,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 286.552,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76034,
    "c": 0.18341,
    "h": 318.3
  },
  "luminance": 0.40301
}

Semantic roles & 50–950 ramp

primary
#E187FB
secondary
#DCF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #E187FB

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

Preview Lab → · Contrast checker → · Palette generator →

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