#E874E2#E874E2

#E874E2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 73.0% C 0.194 H 329.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#E874E2
RGBrgb(232, 116, 226)
HSLhsl(303, 72%, 68%)
HSVhsv(303, 50%, 91%)
CMYKcmyk(0%, 50%, 2.6%, 9%)
CIE-LABlab(65.86, 59.36, -36.21)
CIE-LCHlch(65.86, 69.53, 328.61°)
OKLaboklab(73.02% 0.1669 -0.0991)
OKLCHoklch(73.02% 0.194 329.3)
XYZxyz(53.2510, 35.1407, 75.9148)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E874E2 #74E87A
analogous
#B474E8 #E874E2 #E874A8
triadic
#E874E2 #E2E874 #74E2E8
tetradic
#E874E2 #E8B474 #74E87A #74A8E8
square
#E874E2 #E8B474 #74E87A #74A8E8
split-complementary
#E874E2 #A8E874 #74E8B4
monochromatic
#C220B9 #DF3FD7 #E874E2 #F1A9ED #F9DDF8

Accessibility & contrast

On white

2.62
#E874E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#E874E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E874E2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E874E2#FFFFFF#000000##000000
##E874E21.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#EF7FA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e874e2;
/* rgb */ color: rgb(232, 116, 226);
/* oklch */ color: oklch(73.0% 0.194 329.3);
Tailwind
colors: {
  custom: {
    50: '#f2a0eb',
    500: '#e874e2',
    950: '#000000',
  },
}
SCSS
$custom: #e874e2;
$custom-light: #f2a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e874e2",
  "rgb": {
    "r": 232,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 303.103,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7302,
    "c": 0.1941,
    "h": 329.3
  },
  "luminance": 0.35138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E874E2

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

Preview Lab → · Contrast checker → · Palette generator →

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