#E862F6#E862F6

#E862F6 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.8% C 0.237 H 323.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#E862F6
RGBrgb(232, 98, 246)
HSLhsl(294, 89%, 67%)
HSVhsv(294, 60%, 96%)
CMYKcmyk(5.7%, 60.2%, 0%, 3.5%)
CIE-LABlab(63.79, 70.89, -50.53)
CIE-LCHlch(63.79, 87.06, 324.52°)
OKLaboklab(71.81% 0.1916 -0.1402)
OKLCHoklch(71.81% 0.237 323.8)
XYZxyz(54.2794, 32.5480, 90.5943)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E862F6 #70F662
analogous
#9E62F6 #E862F6 #F662BA
triadic
#E862F6 #F6E862 #62F6E8
tetradic
#E862F6 #F69E62 #70F662 #62BAF6
square
#E862F6 #F69E62 #70F662 #62BAF6
split-complementary
#E862F6 #BAF662 #62F69E
monochromatic
#BF0CD2 #E028F3 #E862F6 #F09CF9 #F9D6FD

Accessibility & contrast

On white

2.80
#E862F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#E862F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E862F6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E862F6#FFFFFF#000000##000000
##E862F61.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790FB
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#EC78A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e862f6;
/* rgb */ color: rgb(232, 98, 246);
/* oklch */ color: oklch(71.8% 0.237 323.8);
Tailwind
colors: {
  custom: {
    50: '#f396fa',
    500: '#e862f6',
    950: '#000000',
  },
}
SCSS
$custom: #e862f6;
$custom-light: #f396fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e862f6",
  "rgb": {
    "r": 232,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 294.324,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.23747,
    "h": 323.8
  },
  "luminance": 0.32545
}

Semantic roles & 50–950 ramp

primary
#E862F6
secondary
#C7F1C3
accent
#E60016
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E862F6

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

Preview Lab → · Contrast checker → · Palette generator →

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