#8F1A8A#8F1A8A

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

Color values

HEX#8F1A8A
RGBrgb(143, 26, 138)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 81.8%, 3.5%, 43.9%)
CIE-LABlab(34.83, 58.60, -34.51)
CIE-LCHlch(34.83, 68.01, 329.51°)
OKLaboklab(46.37% 0.1661 -0.0954)
OKLCHoklch(46.37% 0.192 330.1)
XYZxyz(16.2845, 8.4147, 24.8064)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A8A #1A8F1F
analogous
#591A8F #8F1A8A #8F1A4F
triadic
#8F1A8A #8A8F1A #1A8A8F
tetradic
#8F1A8A #8F591A #1A8F1F #1A4F8F
square
#8F1A8A #8F591A #1A8F1F #1A4F8F
split-complementary
#8F1A8A #4F8F1A #1A8F59
monochromatic
#270726 #5B1158 #8F1A8A #C323BC #DD46D7

Accessibility & contrast

On white

7.83
#8F1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A8A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A8A#FFFFFF#000000##FFFFFF
##8F1A8A1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#952C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1a8a;
/* rgb */ color: rgb(143, 26, 138);
/* oklch */ color: oklch(46.4% 0.192 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ac',
    500: '#8f1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a8a;
$custom-light: #b467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a8a",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 302.564,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.19153,
    "h": 330.1
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#8F1A8A
secondary
#46BF4B
accent
#EC433C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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