#8F1886#8F1886

#8F1886 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.190 H 331.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8F1886
RGBrgb(143, 24, 134)
HSLhsl(305, 71%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 83.2%, 6.3%, 43.9%)
CIE-LABlab(34.43, 58.47, -32.67)
CIE-LCHlch(34.43, 66.98, 330.80°)
OKLaboklab(46.01% 0.1676 -0.0901)
OKLCHoklch(46.01% 0.19 331.7)
XYZxyz(15.9574, 8.2155, 23.2949)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1886 #188F21
analogous
#5D188F #8F1886 #8F184A
triadic
#8F1886 #868F18 #18868F
tetradic
#8F1886 #8F5D18 #188F21 #184A8F
square
#8F1886 #8F5D18 #188F21 #184A8F
split-complementary
#8F1886 #4A8F18 #188F5D
monochromatic
#260624 #5B0F55 #8F1886 #C321B7 #DF42D3

Accessibility & contrast

On white

7.95
#8F1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1886
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1886#FFFFFF#000000##FFFFFF
##8F18861.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#952950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1886;
/* rgb */ color: rgb(143, 24, 134);
/* oklch */ color: oklch(46.0% 0.190 331.7);
Tailwind
colors: {
  custom: {
    50: '#b466a9',
    500: '#8f1886',
    950: '#000000',
  },
}
SCSS
$custom: #8f1886;
$custom-light: #b466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1886",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 304.538,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.19025,
    "h": 331.7
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#8F1886
secondary
#43C04C
accent
#EE473A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1886

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

Preview Lab → · Contrast checker → · Palette generator →

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