#8F3196#8F3196

#8F3196 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.176 H 324.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F3196
RGBrgb(143, 49, 150)
HSLhsl(296, 51%, 39%)
HSVhsv(296, 67%, 59%)
CMYKcmyk(4.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(38.27, 52.85, -36.40)
CIE-LCHlch(38.27, 64.17, 325.44°)
OKLaboklab(49.06% 0.144 -0.1011)
OKLCHoklch(49.06% 0.176 324.9)
XYZxyz(17.9306, 10.2394, 29.8802)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3196 #389631
analogous
#5D3196 #8F3196 #96316B
triadic
#8F3196 #968F31 #31968F
tetradic
#8F3196 #965D31 #389631 #316B96
square
#8F3196 #965D31 #389631 #316B96
split-complementary
#8F3196 #6B9631 #31965D
monochromatic
#37133A #632268 #8F3196 #B943C1 #CA71D1

Accessibility & contrast

On white

6.89
#8F3196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F3196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3196
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3196#FFFFFF#000000##FFFFFF
##8F31961.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#92415F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f3196;
/* rgb */ color: rgb(143, 49, 150);
/* oklch */ color: oklch(49.1% 0.176 324.9);
Tailwind
colors: {
  custom: {
    50: '#b371b5',
    500: '#8f3196',
    950: '#000000',
  },
}
SCSS
$custom: #8f3196;
$custom-light: #b371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3196",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 295.842,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.17592,
    "h": 324.9
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#8F3196
secondary
#70B86A
accent
#DA4E57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F3196

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

Preview Lab → · Contrast checker → · Palette generator →

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