#8E279E#8E279E

#8E279E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.194 H 321.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8E279E
RGBrgb(142, 39, 158)
HSLhsl(292, 60%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.1%, 75.3%, 0%, 38%)
CIE-LABlab(37.25, 57.90, -42.89)
CIE-LCHlch(37.25, 72.05, 323.47°)
OKLaboklab(48.45% 0.153 -0.12)
OKLCHoklch(48.45% 0.194 321.9)
XYZxyz(18.0517, 9.6715, 33.2571)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E279E #379E27
analogous
#52279E #8E279E #9E2772
triadic
#8E279E #9E8E27 #279E8E
tetradic
#8E279E #9E5227 #379E27 #27729E
square
#8E279E #9E5227 #379E27 #27729E
split-complementary
#8E279E #729E27 #279E52
monochromatic
#360F3C #621B6D #8E279E #B935CD #CA66D9

Accessibility & contrast

On white

7.16
#8E279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E279E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E279E#FFFFFF#000000##FFFFFF
##8E279E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#385B9B
Tritanopia (blue-blind)
#903E61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e279e;
/* rgb */ color: rgb(142, 39, 158);
/* oklch */ color: oklch(48.4% 0.194 321.9);
Tailwind
colors: {
  custom: {
    50: '#b36dbb',
    500: '#8e279e',
    950: '#000000',
  },
}
SCSS
$custom: #8e279e;
$custom-light: #b36dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e279e",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 291.933,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.1944,
    "h": 321.9
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#8E279E
secondary
#6EBF62
accent
#E4445A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E279E

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

Preview Lab → · Contrast checker → · Palette generator →

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