#8E289D#8E289D

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

Color values

HEX#8E289D
RGBrgb(142, 40, 157)
HSLhsl(292, 59%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(9.6%, 74.5%, 0%, 38.4%)
CIE-LABlab(37.31, 57.36, -42.19)
CIE-LCHlch(37.31, 71.21, 323.67°)
OKLaboklab(48.47% 0.1521 -0.1179)
OKLCHoklch(48.47% 0.192 322.2)
XYZxyz(17.9993, 9.7037, 32.8167)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E289D #379D28
analogous
#53289D #8E289D #9D2871
triadic
#8E289D #9D8E28 #289D8E
tetradic
#8E289D #9D5328 #379D28 #28719D
square
#8E289D #9D5328 #379D28 #28719D
split-complementary
#8E289D #719D28 #289D53
monochromatic
#360F3B #621C6C #8E289D #B936CC #CA67D8

Accessibility & contrast

On white

7.14
#8E289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8E289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E289D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E289D#FFFFFF#000000##FFFFFF
##8E289D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#903E61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e289d;
/* rgb */ color: rgb(142, 40, 157);
/* oklch */ color: oklch(48.5% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#b36dba',
    500: '#8e289d',
    950: '#000000',
  },
}
SCSS
$custom: #8e289d;
$custom-light: #b36dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e289d",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 292.308,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.19245,
    "h": 322.2
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#8E289D
secondary
#6EBE62
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E289D

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

Preview Lab → · Contrast checker → · Palette generator →

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