#8E279A#8E279A

#8E279A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 323.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8E279A
RGBrgb(142, 39, 154)
HSLhsl(294, 60%, 38%)
HSVhsv(294, 75%, 60%)
CMYKcmyk(7.8%, 74.7%, 0%, 39.6%)
CIE-LABlab(37.00, 57.16, -40.87)
CIE-LCHlch(37.00, 70.27, 324.44°)
OKLaboklab(48.19% 0.1532 -0.1141)
OKLCHoklch(48.19% 0.191 323.3)
XYZxyz(17.7130, 9.5360, 31.4732)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E279A #339A27
analogous
#54279A #8E279A #9A276C
triadic
#8E279A #9A8E27 #279A8E
tetradic
#8E279A #9A5427 #339A27 #276C9A
square
#8E279A #9A5427 #339A27 #276C9A
split-complementary
#8E279A #6C9A27 #279A54
monochromatic
#340E38 #611B69 #8E279A #BB33CB #CC64D8

Accessibility & contrast

On white

7.22
#8E279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8E279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E279A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E279A#FFFFFF#000000##FFFFFF
##8E279A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#903C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e279a;
/* rgb */ color: rgb(142, 39, 154);
/* oklch */ color: oklch(48.2% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#b36cb8',
    500: '#8e279a',
    950: '#000000',
  },
}
SCSS
$custom: #8e279a;
$custom-light: #b36cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e279a",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 293.739,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.19102,
    "h": 323.3
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#8E279A
secondary
#69BD5F
accent
#E34556
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E279A

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

Preview Lab → · Contrast checker → · Palette generator →

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