#E873E2#E873E2

#E873E2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.9% C 0.196 H 329.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#E873E2
RGBrgb(232, 115, 226)
HSLhsl(303, 72%, 68%)
HSVhsv(303, 50%, 91%)
CMYKcmyk(0%, 50.4%, 2.6%, 9%)
CIE-LABlab(65.68, 59.83, -36.49)
CIE-LCHlch(65.68, 70.08, 328.62°)
OKLaboklab(72.89% 0.1683 -0.0999)
OKLCHoklch(72.89% 0.196 329.3)
XYZxyz(53.1363, 34.9114, 75.8765)
Luminance0.3491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873E2 #73E879
analogous
#B373E8 #E873E2 #E873A7
triadic
#E873E2 #E2E873 #73E2E8
tetradic
#E873E2 #E8B373 #73E879 #73A7E8
square
#E873E2 #E8B373 #73E879 #73A7E8
split-complementary
#E873E2 #A7E873 #73E8B3
monochromatic
#C120B9 #DF3ED7 #E873E2 #F1A8ED #F9DCF8

Accessibility & contrast

On white

2.63
#E873E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#E873E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873E2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873E2#FFFFFF#000000##000000
##E873E21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#8EA5DF
Tritanopia (blue-blind)
#EF7EA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e873e2;
/* rgb */ color: rgb(232, 115, 226);
/* oklch */ color: oklch(72.9% 0.196 329.3);
Tailwind
colors: {
  custom: {
    50: '#f2a0eb',
    500: '#e873e2',
    950: '#000000',
  },
}
SCSS
$custom: #e873e2;
$custom-light: #f2a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e873e2",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 303.077,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.19567,
    "h": 329.3
  },
  "luminance": 0.34908
}

Semantic roles & 50–950 ramp

primary
#E873E2
secondary
#CAEDCB
accent
#D41C12
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E873E2

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

Preview Lab → · Contrast checker → · Palette generator →

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