#8E279C#8E279C

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

Color values

HEX#8E279C
RGBrgb(142, 39, 156)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 61%)
CMYKcmyk(9%, 75%, 0%, 38.8%)
CIE-LABlab(37.12, 57.53, -41.88)
CIE-LCHlch(37.12, 71.16, 323.95°)
OKLaboklab(48.32% 0.1531 -0.117)
OKLCHoklch(48.32% 0.193 322.6)
XYZxyz(17.8810, 9.6032, 32.3578)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E279C #359C27
analogous
#54279C #8E279C #9C276F
triadic
#8E279C #9C8E27 #279C8E
tetradic
#8E279C #9C5427 #359C27 #276F9C
square
#8E279C #9C5427 #359C27 #276F9C
split-complementary
#8E279C #6F9C27 #279C54
monochromatic
#350F3A #611B6B #8E279C #BA34CC #CB65D8

Accessibility & contrast

On white

7.19
#8E279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E279C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E279C#FFFFFF#000000##FFFFFF
##8E279C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#903D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e279c;
/* rgb */ color: rgb(142, 39, 156);
/* oklch */ color: oklch(48.3% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8e279c',
    950: '#000000',
  },
}
SCSS
$custom: #8e279c;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e279c",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 292.821,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.1927,
    "h": 322.6
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#8E279C
secondary
#6CBE61
accent
#E34558
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E279C

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

Preview Lab → · Contrast checker → · Palette generator →

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