#8F3192#8F3192

#8F3192 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 326.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F3192
RGBrgb(143, 49, 146)
HSLhsl(298, 50%, 38%)
HSVhsv(298, 66%, 57%)
CMYKcmyk(2.1%, 66.4%, 0%, 42.7%)
CIE-LABlab(38.04, 52.12, -34.33)
CIE-LCHlch(38.04, 62.40, 326.63°)
OKLaboklab(48.82% 0.1439 -0.0951)
OKLCHoklch(48.82% 0.172 326.5)
XYZxyz(17.6140, 10.1127, 28.2128)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3192 #349231
analogous
#5E3192 #8F3192 #923164
triadic
#8F3192 #928F31 #31928F
tetradic
#8F3192 #925E31 #349231 #316492
square
#8F3192 #925E31 #349231 #316492
split-complementary
#8F3192 #649231 #31925E
monochromatic
#351236 #622264 #8F3192 #BB41BF #CC6FCF

Accessibility & contrast

On white

6.95
#8F3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3192
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3192#FFFFFF#000000##FFFFFF
##8F31921.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#465E8F
Tritanopia (blue-blind)
#933F5D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f3192;
/* rgb */ color: rgb(143, 49, 146);
/* oklch */ color: oklch(48.8% 0.172 326.5);
Tailwind
colors: {
  custom: {
    50: '#b371b2',
    500: '#8f3192',
    950: '#000000',
  },
}
SCSS
$custom: #8f3192;
$custom-light: #b371b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3192",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 298.144,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.17244,
    "h": 326.5
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#8F3192
secondary
#6BB669
accent
#D94F53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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