#8E279B#8E279B

#8E279B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 323.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8E279B
RGBrgb(142, 39, 155)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 61%)
CMYKcmyk(8.4%, 74.8%, 0%, 39.2%)
CIE-LABlab(37.06, 57.35, -41.37)
CIE-LCHlch(37.06, 70.71, 324.19°)
OKLaboklab(48.26% 0.1532 -0.1155)
OKLCHoklch(48.26% 0.192 323)
XYZxyz(17.7967, 9.5694, 31.9137)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E279B #349B27
analogous
#54279B #8E279B #9B276E
triadic
#8E279B #9B8E27 #279B8E
tetradic
#8E279B #9B5427 #349B27 #276E9B
square
#8E279B #9B5427 #349B27 #276E9B
split-complementary
#8E279B #6E9B27 #279B54
monochromatic
#340E39 #611B6A #8E279B #BB33CC #CB64D8

Accessibility & contrast

On white

7.21
#8E279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E279B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E279B#FFFFFF#000000##FFFFFF
##8E279B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#903D5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e279b;
/* rgb */ color: rgb(142, 39, 155);
/* oklch */ color: oklch(48.3% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#b36cb9',
    500: '#8e279b',
    950: '#000000',
  },
}
SCSS
$custom: #8e279b;
$custom-light: #b36cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e279b",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 293.276,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.19186,
    "h": 323
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#8E279B
secondary
#6ABE60
accent
#E34557
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E279B

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

Preview Lab → · Contrast checker → · Palette generator →

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