#8E289E#8E289E

#8E289E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 321.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E289E
RGBrgb(142, 40, 158)
HSLhsl(292, 60%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.1%, 74.7%, 0%, 38%)
CIE-LABlab(37.37, 57.55, -42.69)
CIE-LCHlch(37.37, 71.66, 323.43°)
OKLaboklab(48.54% 0.152 -0.1194)
OKLCHoklch(48.54% 0.193 321.9)
XYZxyz(18.0850, 9.7380, 33.2682)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E289E #389E28
analogous
#53289E #8E289E #9E2873
triadic
#8E289E #9E8E28 #289E8E
tetradic
#8E289E #9E5328 #389E28 #28739E
square
#8E289E #9E5328 #389E28 #28739E
split-complementary
#8E289E #739E28 #289E53
monochromatic
#360F3C #621C6D #8E289E #B837CC #C968D9

Accessibility & contrast

On white

7.12
#8E289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E289E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E289E#FFFFFF#000000##FFFFFF
##8E289E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#385C9B
Tritanopia (blue-blind)
#903F61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e289e;
/* rgb */ color: rgb(142, 40, 158);
/* oklch */ color: oklch(48.5% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#b36dbb',
    500: '#8e289e',
    950: '#000000',
  },
}
SCSS
$custom: #8e289e;
$custom-light: #b36dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e289e",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 291.864,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.1933,
    "h": 321.9
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#8E289E
secondary
#6FBF63
accent
#E3455A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E289E

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

Preview Lab → · Contrast checker → · Palette generator →

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