#E862E2#E862E2

#E862E2 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.8% C 0.221 H 329.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#E862E2
RGBrgb(232, 98, 226)
HSLhsl(303, 74%, 65%)
HSVhsv(303, 58%, 91%)
CMYKcmyk(0%, 57.8%, 2.6%, 9%)
CIE-LABlab(62.83, 67.50, -40.94)
CIE-LCHlch(62.83, 78.94, 328.76°)
OKLaboklab(70.8% 0.1901 -0.1125)
OKLCHoklch(70.8% 0.221 329.4)
XYZxyz(51.3734, 31.3856, 75.2889)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E862E2 #62E868
analogous
#AB62E8 #E862E2 #E8629F
triadic
#E862E2 #E2E862 #62E2E8
tetradic
#E862E2 #E8AB62 #62E868 #629FE8
square
#E862E2 #E8AB62 #62E868 #629FE8
split-complementary
#E862E2 #9FE862 #62E8AB
monochromatic
#B51BAE #E02DD8 #E862E2 #F097EC #F8CDF6

Accessibility & contrast

On white

2.89
#E862E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#E862E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E862E2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E862E2#FFFFFF#000000##000000
##E862E21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#F07099
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e862e2;
/* rgb */ color: rgb(232, 98, 226);
/* oklch */ color: oklch(70.8% 0.221 329.4);
Tailwind
colors: {
  custom: {
    50: '#f296eb',
    500: '#e862e2',
    950: '#000000',
  },
}
SCSS
$custom: #e862e2;
$custom-light: #f296eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e862e2",
  "rgb": {
    "r": 232,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 302.687,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.22088,
    "h": 329.4
  },
  "luminance": 0.31382
}

Semantic roles & 50–950 ramp

primary
#E862E2
secondary
#BCEABE
accent
#D7180F
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E862E2

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

Preview Lab → · Contrast checker → · Palette generator →

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