#8E5299#8E5299

#8E5299 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.5% C 0.126 H 321.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E5299
RGBrgb(142, 82, 153)
HSLhsl(291, 30%, 46%)
HSVhsv(291, 46%, 60%)
CMYKcmyk(7.2%, 46.4%, 0%, 40%)
CIE-LABlab(44.36, 36.85, -28.63)
CIE-LCHlch(44.36, 46.67, 322.15°)
OKLaboklab(53.54% 0.0983 -0.0789)
OKLCHoklch(53.54% 0.126 321.2)
XYZxyz(19.9217, 14.0860, 31.8003)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5299 #5D9952
analogous
#6A5299 #8E5299 #995280
triadic
#8E5299 #998E52 #52998E
tetradic
#8E5299 #996A52 #5D9952 #528099
square
#8E5299 #996A52 #5D9952 #528099
split-complementary
#8E5299 #809952 #52996A
monochromatic
#442749 #693D71 #8E5299 #AA74B4 #C39CCA

Accessibility & contrast

On white

5.50
#8E5299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8E5299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5299
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5299#FFFFFF#000000##FFFFFF
##8E52991.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659B
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#8F5B6E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e5299;
/* rgb */ color: rgb(142, 82, 153);
/* oklch */ color: oklch(53.5% 0.126 321.2);
Tailwind
colors: {
  custom: {
    50: '#b084b7',
    500: '#8e5299',
    950: '#000000',
  },
}
SCSS
$custom: #8e5299;
$custom-light: #b084b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5299",
  "rgb": {
    "r": 142,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 290.704,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.12604,
    "h": 321.2
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#8E5299
secondary
#96B790
accent
#C66171
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E5299

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

Preview Lab → · Contrast checker → · Palette generator →

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