#8E299A#8E299A

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

Color values

HEX#8E299A
RGBrgb(142, 41, 154)
HSLhsl(294, 58%, 38%)
HSVhsv(294, 73%, 60%)
CMYKcmyk(7.8%, 73.4%, 0%, 39.6%)
CIE-LABlab(37.24, 56.46, -40.47)
CIE-LCHlch(37.24, 69.46, 324.37°)
OKLaboklab(48.37% 0.1513 -0.1129)
OKLCHoklch(48.37% 0.189 323.3)
XYZxyz(17.7805, 9.6708, 31.4957)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E299A #359A29
analogous
#55299A #8E299A #9A296D
triadic
#8E299A #9A8E29 #299A8E
tetradic
#8E299A #9A5529 #359A29 #296D9A
square
#8E299A #9A5529 #359A29 #296D9A
split-complementary
#8E299A #6D9A29 #299A55
monochromatic
#350F39 #611C6A #8E299A #BA37CA #CB67D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E299A#FFFFFF#000000##FFFFFF
##8E299A1.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)
#00509D
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#903D5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e299a;
/* rgb */ color: rgb(142, 41, 154);
/* oklch */ color: oklch(48.4% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#b36db8',
    500: '#8e299a',
    950: '#000000',
  },
}
SCSS
$custom: #8e299a;
$custom-light: #b36db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e299a",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 293.628,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.18878,
    "h": 323.3
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#8E299A
secondary
#6CBD62
accent
#E14757
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E299A

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

Preview Lab → · Contrast checker → · Palette generator →

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