#E874FB#E874FB

#E874FB is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.2% C 0.216 H 321.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#E874FB
RGBrgb(232, 116, 251)
HSLhsl(292, 94%, 72%)
HSVhsv(292, 54%, 98%)
CMYKcmyk(7.6%, 53.8%, 0%, 1.6%)
CIE-LABlab(66.99, 63.78, -48.24)
CIE-LCHlch(66.99, 79.97, 322.90°)
OKLaboklab(74.22% 0.1701 -0.1337)
OKLCHoklch(74.22% 0.216 321.8)
XYZxyz(56.9348, 36.6143, 95.3163)
Luminance0.3661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E874FB #87FB74
analogous
#A574FB #E874FB #FB74CA
triadic
#E874FB #FBE874 #74FBE8
tetradic
#E874FB #FBA574 #87FB74 #74CAFB
square
#E874FB #FBA574 #87FB74 #74CAFB
split-complementary
#E874FB #CAFB74 #74FBA5
monochromatic
#CD07EE #DE39F9 #E874FB #F2AFFD #FAE1FE

Accessibility & contrast

On white

2.52
#E874FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#E874FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E874FB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E874FB#FFFFFF#000000##000000
##E874FB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#EB87AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e874fb;
/* rgb */ color: rgb(232, 116, 251);
/* oklch */ color: oklch(74.2% 0.216 321.8);
Tailwind
colors: {
  custom: {
    50: '#f2a1fd',
    500: '#e874fb',
    950: '#000000',
  },
}
SCSS
$custom: #e874fb;
$custom-light: #f2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e874fb",
  "rgb": {
    "r": 232,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 291.556,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.21636,
    "h": 321.8
  },
  "luminance": 0.36612
}

Semantic roles & 50–950 ramp

primary
#E874FB
secondary
#D9F6D4
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E874FB

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

Preview Lab → · Contrast checker → · Palette generator →

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