#8E289F#8E289F

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

Color values

HEX#8E289F
RGBrgb(142, 40, 159)
HSLhsl(291, 60%, 39%)
HSVhsv(291, 75%, 62%)
CMYKcmyk(10.7%, 74.8%, 0%, 37.6%)
CIE-LABlab(37.43, 57.73, -43.19)
CIE-LCHlch(37.43, 72.10, 323.20°)
OKLaboklab(48.6% 0.1519 -0.1209)
OKLCHoklch(48.6% 0.194 321.5)
XYZxyz(18.1714, 9.7726, 33.7233)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E289F #399F28
analogous
#53289F #8E289F #9F2875
triadic
#8E289F #9F8E28 #289F8E
tetradic
#8E289F #9F5328 #399F28 #28759F
square
#8E289F #9F5328 #399F28 #28759F
split-complementary
#8E289F #759F28 #289F53
monochromatic
#370F3D #621C6E #8E289F #B737CD #C968D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E289F#FFFFFF#000000##FFFFFF
##8E289F1.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)
#0051A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8F3F62
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e289f;
/* rgb */ color: rgb(142, 40, 159);
/* oklch */ color: oklch(48.6% 0.194 321.5);
Tailwind
colors: {
  custom: {
    50: '#b36dbc',
    500: '#8e289f',
    950: '#000000',
  },
}
SCSS
$custom: #8e289f;
$custom-light: #b36dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e289f",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 291.429,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.486,
    "c": 0.19415,
    "h": 321.5
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#8E289F
secondary
#71BF64
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E289F

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

Preview Lab → · Contrast checker → · Palette generator →

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