#E873DB#E873DB

#E873DB is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.6% C 0.190 H 331.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#E873DB
RGBrgb(232, 115, 219)
HSLhsl(307, 72%, 68%)
HSVhsv(307, 50%, 91%)
CMYKcmyk(0%, 50.4%, 5.6%, 9%)
CIE-LABlab(65.39, 58.65, -33.05)
CIE-LCHlch(65.39, 67.32, 330.60°)
OKLaboklab(72.57% 0.1671 -0.0901)
OKLCHoklch(72.57% 0.19 331.7)
XYZxyz(52.1953, 34.5350, 70.9208)
Luminance0.3453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E873DB #73E880
analogous
#BB73E8 #E873DB #E873A0
triadic
#E873DB #DBE873 #73DBE8
tetradic
#E873DB #E8BB73 #73E880 #73A0E8
square
#E873DB #E8BB73 #73E880 #73A0E8
split-complementary
#E873DB #A0E873 #73E8BB
monochromatic
#C120AF #DF3ECD #E873DB #F1A8E9 #F9DCF6

Accessibility & contrast

On white

2.66
#E873DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#E873DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E873DB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E873DB#FFFFFF#000000##000000
##E873DB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#F07C9D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e873db;
/* rgb */ color: rgb(232, 115, 219);
/* oklch */ color: oklch(72.6% 0.190 331.7);
Tailwind
colors: {
  custom: {
    50: '#f2a0e6',
    500: '#e873db',
    950: '#000000',
  },
}
SCSS
$custom: #e873db;
$custom-light: #f2a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e873db",
  "rgb": {
    "r": 232,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 306.667,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.1898,
    "h": 331.7
  },
  "luminance": 0.34532
}

Semantic roles & 50–950 ramp

primary
#E873DB
secondary
#CAEDCD
accent
#D42712
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E873DB

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

Preview Lab → · Contrast checker → · Palette generator →

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