#8E2F86#8E2F86

#8E2F86 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.164 H 331.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2F86
RGBrgb(142, 47, 134)
HSLhsl(305, 50%, 37%)
HSVhsv(305, 67%, 56%)
CMYKcmyk(0%, 66.9%, 5.6%, 44.3%)
CIE-LABlab(36.94, 50.59, -28.72)
CIE-LCHlch(36.94, 58.17, 330.42°)
OKLaboklab(47.79% 0.1443 -0.0789)
OKLCHoklch(47.79% 0.164 331.3)
XYZxyz(16.4749, 9.5063, 23.5168)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F86 #2F8E37
analogous
#672F8E #8E2F86 #8E2F56
triadic
#8E2F86 #868E2F #2F868E
tetradic
#8E2F86 #8E672F #2F8E37 #2F568E
square
#8E2F86 #8E672F #2F8E37 #2F568E
split-complementary
#8E2F86 #568E2F #2F8E67
monochromatic
#32112F #60205B #8E2F86 #BC3EB1 #CE6AC5

Accessibility & contrast

On white

7.24
#8E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F86
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F86#FFFFFF#000000##FFFFFF
##8E2F861.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E89
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#943956
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2f86;
/* rgb */ color: rgb(142, 47, 134);
/* oklch */ color: oklch(47.8% 0.164 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26fa9',
    500: '#8e2f86',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f86;
$custom-light: #b26fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f86",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 305.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47785,
    "c": 0.16447,
    "h": 331.3
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#8E2F86
secondary
#64B56B
accent
#DA5A4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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