#8E299F#8E299F

#8E299F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 321.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8E299F
RGBrgb(142, 41, 159)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(10.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(37.56, 57.38, -43.00)
CIE-LCHlch(37.56, 71.70, 323.15°)
OKLaboklab(48.69% 0.151 -0.1203)
OKLCHoklch(48.69% 0.193 321.5)
XYZxyz(18.2056, 9.8409, 33.7347)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E299F #3A9F29
analogous
#53299F #8E299F #9F2975
triadic
#8E299F #9F8E29 #299F8E
tetradic
#8E299F #9F5329 #3A9F29 #29759F
square
#8E299F #9F5329 #3A9F29 #29759F
split-complementary
#8E299F #759F29 #299F53
monochromatic
#37103E #631C6E #8E299F #B739CC #C96AD9

Accessibility & contrast

On white

7.08
#8E299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E299F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E299F#FFFFFF#000000##FFFFFF
##8E299F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#385C9C
Tritanopia (blue-blind)
#8F4062
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e299f;
/* rgb */ color: rgb(142, 41, 159);
/* oklch */ color: oklch(48.7% 0.193 321.5);
Tailwind
colors: {
  custom: {
    50: '#b36dbc',
    500: '#8e299f',
    950: '#000000',
  },
}
SCSS
$custom: #8e299f;
$custom-light: #b36dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e299f",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 291.356,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.19305,
    "h": 321.5
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#8E299F
secondary
#72BF65
accent
#E2465C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E299F

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

Preview Lab → · Contrast checker → · Palette generator →

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