#E866F2#E866F2

#E866F2 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 72.1% C 0.229 H 324.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#E866F2
RGBrgb(232, 102, 242)
HSLhsl(296, 84%, 67%)
HSVhsv(296, 58%, 95%)
CMYKcmyk(4.1%, 57.9%, 0%, 5.1%)
CIE-LABlab(64.22, 68.48, -47.65)
CIE-LCHlch(64.22, 83.43, 325.17°)
OKLaboklab(72.06% 0.1867 -0.1319)
OKLCHoklch(72.06% 0.229 324.8)
XYZxyz(54.0558, 33.0724, 87.5235)
Luminance0.3307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E866F2 #70F266
analogous
#A266F2 #E866F2 #F266B6
triadic
#E866F2 #F2E866 #66F2E8
tetradic
#E866F2 #F2A266 #70F266 #66B6F2
square
#E866F2 #F2A266 #70F266 #66B6F2
split-complementary
#E866F2 #B6F266 #66F2A2
monochromatic
#BF11CC #E02EED #E866F2 #F09EF7 #F9D7FC

Accessibility & contrast

On white

2.76
#E866F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#E866F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E866F2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E866F2#FFFFFF#000000##000000
##E866F21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#ED79A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e866f2;
/* rgb */ color: rgb(232, 102, 242);
/* oklch */ color: oklch(72.1% 0.229 324.8);
Tailwind
colors: {
  custom: {
    50: '#f298f7',
    500: '#e866f2',
    950: '#000000',
  },
}
SCSS
$custom: #e866f2;
$custom-light: #f298f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e866f2",
  "rgb": {
    "r": 232,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 295.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.22858,
    "h": 324.8
  },
  "luminance": 0.33069
}

Semantic roles & 50–950 ramp

primary
#E866F2
secondary
#C7F0C4
accent
#E10514
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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