#8F1881#8F1881

#8F1881 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 333.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8F1881
RGBrgb(143, 24, 129)
HSLhsl(307, 71%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 83.2%, 9.8%, 43.9%)
CIE-LABlab(34.15, 57.70, -30.01)
CIE-LCHlch(34.15, 65.04, 332.53°)
OKLaboklab(45.72% 0.1675 -0.0824)
OKLCHoklch(45.72% 0.187 333.8)
XYZxyz(15.6169, 8.0793, 21.5016)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1881 #188F26
analogous
#61188F #8F1881 #8F1845
triadic
#8F1881 #818F18 #18818F
tetradic
#8F1881 #8F6118 #188F26 #18458F
square
#8F1881 #8F6118 #188F26 #18458F
split-complementary
#8F1881 #458F18 #188F61
monochromatic
#260622 #5B0F52 #8F1881 #C321B0 #DF42CD

Accessibility & contrast

On white

8.03
#8F1881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1881
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1881#FFFFFF#000000##FFFFFF
##8F18811.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#96264D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1881;
/* rgb */ color: rgb(143, 24, 129);
/* oklch */ color: oklch(45.7% 0.187 333.8);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#8f1881',
    950: '#000000',
  },
}
SCSS
$custom: #8f1881;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1881",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 307.059,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.18666,
    "h": 333.8
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#8F1881
secondary
#43C051
accent
#EE4F3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1881

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

Preview Lab → · Contrast checker → · Palette generator →

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