#8E2696#8E2696

#8E2696 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.189 H 324.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8E2696
RGBrgb(142, 38, 150)
HSLhsl(296, 60%, 37%)
HSVhsv(296, 75%, 59%)
CMYKcmyk(5.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(36.63, 56.79, -39.02)
CIE-LCHlch(36.63, 68.90, 325.51°)
OKLaboklab(47.85% 0.1544 -0.1087)
OKLCHoklch(47.85% 0.189 324.9)
XYZxyz(17.3530, 9.3401, 29.7371)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2696 #2E9626
analogous
#562696 #8E2696 #962666
triadic
#8E2696 #968E26 #26968E
tetradic
#8E2696 #965626 #2E9626 #266696
square
#8E2696 #965626 #2E9626 #266696
split-complementary
#8E2696 #669626 #269656
monochromatic
#320D34 #601A65 #8E2696 #BC32C7 #CE60D7

Accessibility & contrast

On white

7.32
#8E2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2696
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2696#FFFFFF#000000##FFFFFF
##8E26961.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#3D5A93
Tritanopia (blue-blind)
#913A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2696;
/* rgb */ color: rgb(142, 38, 150);
/* oklch */ color: oklch(47.9% 0.189 324.9);
Tailwind
colors: {
  custom: {
    50: '#b36cb5',
    500: '#8e2696',
    950: '#000000',
  },
}
SCSS
$custom: #8e2696;
$custom-light: #b36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2696",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 295.714,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.18878,
    "h": 324.9
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#8E2696
secondary
#63BC5C
accent
#E34550
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2696

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

Preview Lab → · Contrast checker → · Palette generator →

#8E2696 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva