#8F1681#8F1681

#8F1681 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.188 H 333.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F1681
RGBrgb(143, 22, 129)
HSLhsl(307, 73%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 84.6%, 9.8%, 43.9%)
CIE-LABlab(33.98, 58.18, -30.27)
CIE-LCHlch(33.98, 65.58, 332.52°)
OKLaboklab(45.6% 0.1689 -0.0831)
OKLCHoklch(45.6% 0.188 333.8)
XYZxyz(15.5772, 7.9999, 21.4884)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1681 #168F24
analogous
#60168F #8F1681 #8F1645
triadic
#8F1681 #818F16 #16818F
tetradic
#8F1681 #8F6016 #168F24 #16458F
square
#8F1681 #8F6016 #168F24 #16458F
split-complementary
#8F1681 #458F16 #168F60
monochromatic
#250621 #5A0E51 #8F1681 #C41EB1 #E13ECE

Accessibility & contrast

On white

8.08
#8F1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1681
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1681#FFFFFF#000000##FFFFFF
##8F16811.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#96254D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1681;
/* rgb */ color: rgb(143, 22, 129);
/* oklch */ color: oklch(45.6% 0.188 333.8);
Tailwind
colors: {
  custom: {
    50: '#b465a6',
    500: '#8f1681',
    950: '#000000',
  },
}
SCSS
$custom: #8f1681;
$custom-light: #b465a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1681",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 306.942,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.18825,
    "h": 333.8
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#8F1681
secondary
#3FC14E
accent
#F04D38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1681

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

Preview Lab → · Contrast checker → · Palette generator →

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