#E873F2#E873F2

#E873F2 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.6% C 0.210 H 324.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#E873F2
RGBrgb(232, 115, 242)
HSLhsl(295, 83%, 70%)
HSVhsv(295, 52%, 95%)
CMYKcmyk(4.1%, 52.5%, 0%, 5.1%)
CIE-LABlab(66.39, 62.62, -44.23)
CIE-LCHlch(66.39, 76.67, 324.76°)
OKLaboklab(73.65% 0.1704 -0.1221)
OKLCHoklch(73.65% 0.21 324.4)
XYZxyz(55.4350, 35.8309, 87.9833)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873F2 #7DF273
analogous
#A973F2 #E873F2 #F273BC
triadic
#E873F2 #F2E873 #73F2E8
tetradic
#E873F2 #F2A973 #7DF273 #73BCF2
square
#E873F2 #F2A973 #7DF273 #73BCF2
split-complementary
#E873F2 #BCF273 #73F2A9
monochromatic
#C714D7 #DF3BED #E873F2 #F1ABF7 #FAE3FC

Accessibility & contrast

On white

2.57
#E873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#E873F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873F2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873F2#FFFFFF#000000##000000
##E873F21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#87A6EE
Tritanopia (blue-blind)
#EC83A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e873f2;
/* rgb */ color: rgb(232, 115, 242);
/* oklch */ color: oklch(73.6% 0.210 324.4);
Tailwind
colors: {
  custom: {
    50: '#f2a0f7',
    500: '#e873f2',
    950: '#000000',
  },
}
SCSS
$custom: #e873f2;
$custom-light: #f2a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e873f2",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 295.276,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.73645,
    "c": 0.20967,
    "h": 324.4
  },
  "luminance": 0.35828
}

Semantic roles & 50–950 ramp

primary
#E873F2
secondary
#D1F2CF
accent
#DF0617
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E873F2

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

Preview Lab → · Contrast checker → · Palette generator →

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