#8F1B8A#8F1B8A

#8F1B8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.191 H 330.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8F1B8A
RGBrgb(143, 27, 138)
HSLhsl(303, 68%, 33%)
HSVhsv(303, 81%, 56%)
CMYKcmyk(0%, 81.1%, 3.5%, 43.9%)
CIE-LABlab(34.92, 58.34, -34.37)
CIE-LCHlch(34.92, 67.71, 329.50°)
OKLaboklab(46.44% 0.1653 -0.095)
OKLCHoklch(46.44% 0.191 330.1)
XYZxyz(16.3070, 8.4598, 24.8139)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B8A #1B8F20
analogous
#5A1B8F #8F1B8A #8F1B50
triadic
#8F1B8A #8A8F1B #1B8A8F
tetradic
#8F1B8A #8F5A1B #1B8F20 #1B508F
square
#8F1B8A #8F5A1B #1B8F20 #1B508F
split-complementary
#8F1B8A #508F1B #1B8F5A
monochromatic
#280827 #5C1158 #8F1B8A #C225BC #DC48D6

Accessibility & contrast

On white

7.80
#8F1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B8A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B8A#FFFFFF#000000##FFFFFF
##8F1B8A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#415787
Tritanopia (blue-blind)
#952D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1b8a;
/* rgb */ color: rgb(143, 27, 138);
/* oklch */ color: oklch(46.4% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ac',
    500: '#8f1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b8a;
$custom-light: #b467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b8a",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 302.586,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.19067,
    "h": 330.1
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#8F1B8A
secondary
#48BE4D
accent
#EB443D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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