#E873FB#E873FB

#E873FB is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.218 H 321.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#E873FB
RGBrgb(232, 115, 251)
HSLhsl(292, 94%, 72%)
HSVhsv(292, 54%, 98%)
CMYKcmyk(7.6%, 54.2%, 0%, 1.6%)
CIE-LABlab(66.81, 64.25, -48.52)
CIE-LCHlch(66.81, 80.51, 322.94°)
OKLaboklab(74.09% 0.1714 -0.1345)
OKLCHoklch(74.09% 0.218 321.9)
XYZxyz(56.8201, 36.3850, 95.2781)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873FB #86FB73
analogous
#A473FB #E873FB #FB73CA
triadic
#E873FB #FBE873 #73FBE8
tetradic
#E873FB #FBA473 #86FB73 #73CAFB
square
#E873FB #FBA473 #86FB73 #73CAFB
split-complementary
#E873FB #CAFB73 #73FBA4
monochromatic
#CD07ED #DE38F9 #E873FB #F2AFFD #FAE1FE

Accessibility & contrast

On white

2.54
#E873FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#E873FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873FB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873FB#FFFFFF#000000##000000
##E873FB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#EB86AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e873fb;
/* rgb */ color: rgb(232, 115, 251);
/* oklch */ color: oklch(74.1% 0.218 321.9);
Tailwind
colors: {
  custom: {
    50: '#f2a0fd',
    500: '#e873fb',
    950: '#000000',
  },
}
SCSS
$custom: #e873fb;
$custom-light: #f2a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e873fb",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 291.618,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74093,
    "c": 0.21784,
    "h": 321.9
  },
  "luminance": 0.36382
}

Semantic roles & 50–950 ramp

primary
#E873FB
secondary
#D8F6D4
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E873FB

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

Preview Lab → · Contrast checker → · Palette generator →

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