#E873FC#E873FC

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

Color values

HEX#E873FC
RGBrgb(232, 115, 252)
HSLhsl(291, 96%, 72%)
HSVhsv(291, 54%, 99%)
CMYKcmyk(7.9%, 54.4%, 0%, 1.2%)
CIE-LABlab(66.86, 64.43, -48.99)
CIE-LCHlch(66.86, 80.94, 322.75°)
OKLaboklab(74.14% 0.1715 -0.1359)
OKLCHoklch(74.14% 0.219 321.6)
XYZxyz(56.9782, 36.4482, 96.1105)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873FC #87FC73
analogous
#A473FC #E873FC #FC73CC
triadic
#E873FC #FCE873 #73FCE8
tetradic
#E873FC #FCA473 #87FC73 #73CCFC
square
#E873FC #FCA473 #87FC73 #73CCFC
split-complementary
#E873FC #CCFC73 #73FCA4
monochromatic
#CD05EF #DE37FB #E873FC #F2AFFD #FAE1FE

Accessibility & contrast

On white

2.53
#E873FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#E873FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873FC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873FC#FFFFFF#000000##000000
##E873FC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e873fc;
/* rgb */ color: rgb(232, 115, 252);
/* oklch */ color: oklch(74.1% 0.219 321.6);
Tailwind
colors: {
  custom: {
    50: '#f2a0fe',
    500: '#e873fc',
    950: '#000000',
  },
}
SCSS
$custom: #e873fc;
$custom-light: #f2a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e873fc",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 291.241,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74143,
    "c": 0.21876,
    "h": 321.6
  },
  "luminance": 0.36446
}

Semantic roles & 50–950 ramp

primary
#E873FC
secondary
#D9F7D4
accent
#E60022
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E873FC

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

Preview Lab → · Contrast checker → · Palette generator →

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