#E870F6#E870F6

#E870F6 is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.5% C 0.218 H 323.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#E870F6
RGBrgb(232, 112, 246)
HSLhsl(294, 88%, 70%)
HSVhsv(294, 54%, 96%)
CMYKcmyk(5.7%, 54.5%, 0%, 3.5%)
CIE-LABlab(66.06, 64.73, -46.96)
CIE-LCHlch(66.06, 79.96, 324.04°)
OKLaboklab(73.46% 0.1747 -0.13)
OKLCHoklch(73.46% 0.218 323.4)
XYZxyz(55.7058, 35.4008, 91.0697)
Luminance0.3540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E870F6 #7EF670
analogous
#A570F6 #E870F6 #F670C1
triadic
#E870F6 #F6E870 #70F6E8
tetradic
#E870F6 #F6A570 #7EF670 #70C1F6
square
#E870F6 #F6A570 #7EF670 #70C1F6
split-complementary
#E870F6 #C1F670 #70F6A5
monochromatic
#C80EDE #DF36F2 #E870F6 #F1AAFA #FAE2FD

Accessibility & contrast

On white

2.60
#E870F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#E870F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E870F6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E870F6#FFFFFF#000000##000000
##E870F61.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#83A5F2
Tritanopia (blue-blind)
#EC82A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e870f6;
/* rgb */ color: rgb(232, 112, 246);
/* oklch */ color: oklch(73.5% 0.218 323.4);
Tailwind
colors: {
  custom: {
    50: '#f29ef9',
    500: '#e870f6',
    950: '#000000',
  },
}
SCSS
$custom: #e870f6;
$custom-light: #f29ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e870f6",
  "rgb": {
    "r": 232,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 293.731,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.21773,
    "h": 323.4
  },
  "luminance": 0.35398
}

Semantic roles & 50–950 ramp

primary
#E870F6
secondary
#D2F3CE
accent
#E50119
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E870F6

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

Preview Lab → · Contrast checker → · Palette generator →

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