#8E289B#8E289B

#8E289B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 322.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8E289B
RGBrgb(142, 40, 155)
HSLhsl(293, 59%, 38%)
HSVhsv(293, 74%, 61%)
CMYKcmyk(8.4%, 74.2%, 0%, 39.2%)
CIE-LABlab(37.18, 57.00, -41.18)
CIE-LCHlch(37.18, 70.31, 324.15°)
OKLaboklab(48.34% 0.1522 -0.115)
OKLCHoklch(48.34% 0.191 322.9)
XYZxyz(17.8299, 9.6360, 31.9248)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E289B #359B28
analogous
#54289B #8E289B #9B286E
triadic
#8E289B #9B8E28 #289B8E
tetradic
#8E289B #9B5428 #359B28 #286E9B
square
#8E289B #9B5428 #359B28 #286E9B
split-complementary
#8E289B #6E9B28 #289B54
monochromatic
#350F3A #611B6A #8E289B #BA35CB #CB66D7

Accessibility & contrast

On white

7.17
#8E289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E289B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E289B#FFFFFF#000000##FFFFFF
##8E289B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#903D5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e289b;
/* rgb */ color: rgb(142, 40, 155);
/* oklch */ color: oklch(48.3% 0.191 322.9);
Tailwind
colors: {
  custom: {
    50: '#b36db9',
    500: '#8e289b',
    950: '#000000',
  },
}
SCSS
$custom: #8e289b;
$custom-light: #b36db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e289b",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 293.217,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.19075,
    "h": 322.9
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#8E289B
secondary
#6CBD61
accent
#E24657
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E289B

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

Preview Lab → · Contrast checker → · Palette generator →

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