#E870F8#E870F8

#E870F8 is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.6% C 0.220 H 322.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#E870F8
RGBrgb(232, 112, 248)
HSLhsl(293, 91%, 71%)
HSVhsv(293, 55%, 97%)
CMYKcmyk(6.5%, 54.8%, 0%, 2.7%)
CIE-LABlab(66.15, 65.09, -47.91)
CIE-LCHlch(66.15, 80.82, 323.65°)
OKLaboklab(73.56% 0.1749 -0.1327)
OKLCHoklch(73.56% 0.22 322.8)
XYZxyz(56.0145, 35.5242, 92.6951)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E870F8 #80F870
analogous
#A470F8 #E870F8 #F870C4
triadic
#E870F8 #F8E870 #70F8E8
tetradic
#E870F8 #F8A470 #80F870 #70C4F8
square
#E870F8 #F8A470 #80F870 #70C4F8
split-complementary
#E870F8 #C4F870 #70F8A4
monochromatic
#C90BE3 #DF36F5 #E870F8 #F1AAFB #FAE2FE

Accessibility & contrast

On white

2.59
#E870F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#E870F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E870F8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E870F8#FFFFFF#000000##000000
##E870F81.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#EB83AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e870f8;
/* rgb */ color: rgb(232, 112, 248);
/* oklch */ color: oklch(73.6% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#f29efb',
    500: '#e870f8',
    950: '#000000',
  },
}
SCSS
$custom: #e870f8;
$custom-light: #f29efb;
$custom-dark: #000000;
JSON
{
  "hex": "#e870f8",
  "rgb": {
    "r": 232,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 292.941,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73563,
    "c": 0.21953,
    "h": 322.8
  },
  "luminance": 0.35521
}

Semantic roles & 50–950 ramp

primary
#E870F8
secondary
#D4F4CF
accent
#E6001B
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E870F8

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

Preview Lab → · Contrast checker → · Palette generator →

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