#8E299D#8E299D

#8E299D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 322.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8E299D
RGBrgb(142, 41, 157)
HSLhsl(292, 59%, 39%)
HSVhsv(292, 74%, 62%)
CMYKcmyk(9.6%, 73.9%, 0%, 38.4%)
CIE-LABlab(37.43, 57.01, -41.99)
CIE-LCHlch(37.43, 70.80, 323.63°)
OKLaboklab(48.56% 0.1511 -0.1173)
OKLCHoklch(48.56% 0.191 322.2)
XYZxyz(18.0334, 9.7720, 32.8281)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E299D #389D29
analogous
#54299D #8E299D #9D2972
triadic
#8E299D #9D8E29 #299D8E
tetradic
#8E299D #9D5429 #389D29 #29729D
square
#8E299D #9D5429 #389D29 #29729D
split-complementary
#8E299D #729D29 #299D54
monochromatic
#36103C #621C6C #8E299D #B838CB #C969D8

Accessibility & contrast

On white

7.11
#8E299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8E299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E299D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E299D#FFFFFF#000000##FFFFFF
##8E299D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#903F61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e299d;
/* rgb */ color: rgb(142, 41, 157);
/* oklch */ color: oklch(48.6% 0.191 322.2);
Tailwind
colors: {
  custom: {
    50: '#b36dba',
    500: '#8e299d',
    950: '#000000',
  },
}
SCSS
$custom: #8e299d;
$custom-light: #b36dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e299d",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 292.241,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.19134,
    "h": 322.2
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#8E299D
secondary
#6FBE64
accent
#E2465A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E299D

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

Preview Lab → · Contrast checker → · Palette generator →

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