#E873DF#E873DF

#E873DF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.8% C 0.193 H 330.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#E873DF
RGBrgb(232, 115, 223)
HSLhsl(305, 72%, 68%)
HSVhsv(305, 50%, 91%)
CMYKcmyk(0%, 50.4%, 3.9%, 9%)
CIE-LABlab(65.55, 59.32, -35.02)
CIE-LCHlch(65.55, 68.89, 329.45°)
OKLaboklab(72.75% 0.1678 -0.0957)
OKLCHoklch(72.75% 0.193 330.3)
XYZxyz(52.7283, 34.7482, 73.7275)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873DF #73E87C
analogous
#B673E8 #E873DF #E873A5
triadic
#E873DF #DFE873 #73DFE8
tetradic
#E873DF #E8B673 #73E87C #73A5E8
square
#E873DF #E8B673 #73E87C #73A5E8
split-complementary
#E873DF #A5E873 #73E8B6
monochromatic
#C120B5 #DF3ED3 #E873DF #F1A8EB #F9DCF7

Accessibility & contrast

On white

2.64
#E873DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#E873DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873DF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873DF#FFFFFF#000000##000000
##E873DF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E3
Deuteranopia (green-blind)
#8FA5DC
Tritanopia (blue-blind)
#F07D9F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e873df;
/* rgb */ color: rgb(232, 115, 223);
/* oklch */ color: oklch(72.8% 0.193 330.3);
Tailwind
colors: {
  custom: {
    50: '#f2a0e9',
    500: '#e873df',
    950: '#000000',
  },
}
SCSS
$custom: #e873df;
$custom-light: #f2a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e873df",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 304.615,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72752,
    "c": 0.19313,
    "h": 330.3
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

primary
#E873DF
secondary
#CAEDCC
accent
#D42112
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E873DF

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

Preview Lab → · Contrast checker → · Palette generator →

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