#8E459B#8E459B

#8E459B is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.7% C 0.150 H 321.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E459B
RGBrgb(142, 69, 155)
HSLhsl(291, 38%, 44%)
HSVhsv(291, 55%, 61%)
CMYKcmyk(8.4%, 55.5%, 0%, 39.2%)
CIE-LABlab(41.81, 44.21, -33.83)
CIE-LCHlch(41.81, 55.67, 322.57°)
OKLaboklab(51.69% 0.1175 -0.0938)
OKLCHoklch(51.69% 0.15 321.4)
XYZxyz(19.1992, 12.3745, 32.3812)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E459B #529B45
analogous
#63459B #8E459B #9B457D
triadic
#8E459B #9B8E45 #459B8E
tetradic
#8E459B #9B6345 #529B45 #457D9B
square
#8E459B #9B6345 #529B45 #457D9B
split-complementary
#8E459B #7D9B45 #459B63
monochromatic
#401F46 #673271 #8E459B #AD63BA #C38ECD

Accessibility & contrast

On white

6.04
#8E459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8E459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E459B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E459B#FFFFFF#000000##FFFFFF
##8E459B1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#4E6599
Tritanopia (blue-blind)
#8F5169
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e459b;
/* rgb */ color: rgb(142, 69, 155);
/* oklch */ color: oklch(51.7% 0.150 321.4);
Tailwind
colors: {
  custom: {
    50: '#b17cb9',
    500: '#8e459b',
    950: '#000000',
  },
}
SCSS
$custom: #8e459b;
$custom-light: #b17cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e459b",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 290.93,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.15034,
    "h": 321.4
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#8E459B
secondary
#8CB884
accent
#CE596B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E459B

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

Preview Lab → · Contrast checker → · Palette generator →

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