#E873F8#E873F8

#E873F8 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.215 H 322.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#E873F8
RGBrgb(232, 115, 248)
HSLhsl(293, 90%, 71%)
HSVhsv(293, 54%, 97%)
CMYKcmyk(6.5%, 53.6%, 0%, 2.7%)
CIE-LABlab(66.67, 63.70, -47.09)
CIE-LCHlch(66.67, 79.22, 323.53°)
OKLaboklab(73.94% 0.1711 -0.1304)
OKLCHoklch(73.94% 0.215 322.7)
XYZxyz(56.3510, 36.1973, 92.8073)
Luminance0.3619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873F8 #83F873
analogous
#A573F8 #E873F8 #F873C5
triadic
#E873F8 #F8E873 #73F8E8
tetradic
#E873F8 #F8A573 #83F873 #73C5F8
square
#E873F8 #F8A573 #83F873 #73C5F8
split-complementary
#E873F8 #C5F873 #73F8A5
monochromatic
#CB0BE5 #DE39F5 #E873F8 #F2ADFB #FAE2FE

Accessibility & contrast

On white

2.55
#E873F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#E873F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873F8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873F8#FFFFFF#000000##000000
##E873F81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#EB85AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e873f8;
/* rgb */ color: rgb(232, 115, 248);
/* oklch */ color: oklch(73.9% 0.215 322.7);
Tailwind
colors: {
  custom: {
    50: '#f2a0fb',
    500: '#e873f8',
    950: '#000000',
  },
}
SCSS
$custom: #e873f8;
$custom-light: #f2a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e873f8",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 292.782,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73942,
    "c": 0.2151,
    "h": 322.7
  },
  "luminance": 0.36195
}

Semantic roles & 50–950 ramp

primary
#E873F8
secondary
#D6F5D2
accent
#E6001C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E873F8

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

Preview Lab → · Contrast checker → · Palette generator →

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