#8F1D88#8F1D88

#8F1D88 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.187 H 330.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8F1D88
RGBrgb(143, 29, 136)
HSLhsl(304, 66%, 34%)
HSVhsv(304, 80%, 56%)
CMYKcmyk(0%, 79.7%, 4.9%, 43.9%)
CIE-LABlab(35.00, 57.47, -33.01)
CIE-LCHlch(35.00, 66.27, 330.13°)
OKLaboklab(46.46% 0.1637 -0.0911)
OKLCHoklch(46.46% 0.187 330.9)
XYZxyz(16.2110, 8.4973, 24.0741)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D88 #1D8F24
analogous
#5D1D8F #8F1D88 #8F1D4F
triadic
#8F1D88 #888F1D #1D888F
tetradic
#8F1D88 #8F5D1D #1D8F24 #1D4F8F
square
#8F1D88 #8F5D1D #1D8F24 #1D4F8F
split-complementary
#8F1D88 #4F8F1D #1D8F5D
monochromatic
#290827 #5C1358 #8F1D88 #C227B8 #DB4CD2

Accessibility & contrast

On white

7.78
#8F1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D88
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D88#FFFFFF#000000##FFFFFF
##8F1D881.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#952D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1d88;
/* rgb */ color: rgb(143, 29, 136);
/* oklch */ color: oklch(46.5% 0.187 330.9);
Tailwind
colors: {
  custom: {
    50: '#b368ab',
    500: '#8f1d88',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d88;
$custom-light: #b368ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d88",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 303.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.18738,
    "h": 330.9
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#8F1D88
secondary
#4BBD52
accent
#E9493F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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