#8F289B#8F289B

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

Color values

HEX#8F289B
RGBrgb(143, 40, 155)
HSLhsl(294, 59%, 38%)
HSVhsv(294, 74%, 61%)
CMYKcmyk(7.7%, 74.2%, 0%, 39.2%)
CIE-LABlab(37.34, 57.21, -40.91)
CIE-LCHlch(37.34, 70.33, 324.44°)
OKLaboklab(48.49% 0.1534 -0.1141)
OKLCHoklch(48.49% 0.191 323.3)
XYZxyz(18.0023, 9.7249, 31.9329)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F289B #349B28
analogous
#55289B #8F289B #9B286D
triadic
#8F289B #9B8F28 #289B8F
tetradic
#8F289B #9B5528 #349B28 #286D9B
square
#8F289B #9B5528 #349B28 #286D9B
split-complementary
#8F289B #6D9B28 #289B55
monochromatic
#350F3A #621B6A #8F289B #BB35CB #CC66D7

Accessibility & contrast

On white

7.13
#8F289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F289B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F289B#FFFFFF#000000##FFFFFF
##8F289B1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#3B5C98
Tritanopia (blue-blind)
#913D5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f289b;
/* rgb */ color: rgb(143, 40, 155);
/* oklch */ color: oklch(48.5% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#b36db9',
    500: '#8f289b',
    950: '#000000',
  },
}
SCSS
$custom: #8f289b;
$custom-light: #b36db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f289b",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 293.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4849,
    "c": 0.1912,
    "h": 323.3
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#8F289B
secondary
#6BBD61
accent
#E24656
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F289B

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

Preview Lab → · Contrast checker → · Palette generator →

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