#8F1FA6#8F1FA6

#8F1FA6 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.209 H 319.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA6
RGBrgb(143, 31, 166)
HSLhsl(290, 69%, 39%)
HSVhsv(290, 81%, 65%)
CMYKcmyk(13.9%, 81.3%, 0%, 34.9%)
CIE-LABlab(37.07, 62.07, -47.99)
CIE-LCHlch(37.07, 78.46, 322.29°)
OKLaboklab(48.52% 0.1599 -0.1348)
OKLCHoklch(48.52% 0.209 319.9)
XYZxyz(18.6997, 9.5738, 36.9319)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA6 #36A61F
analogous
#4B1FA6 #8F1FA6 #A61F79
triadic
#8F1FA6 #A68F1F #1FA68F
tetradic
#8F1FA6 #A64B1F #36A61F #1F79A6
square
#8F1FA6 #A64B1F #36A61F #1F79A6
split-complementary
#8F1FA6 #79A61F #1FA64B
monochromatic
#360C3F #631572 #8F1FA6 #BA2BD7 #CB5EE1

Accessibility & contrast

On white

7.21
#8F1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA6#FFFFFF#000000##FFFFFF
##8F1FA61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#2D5BA3
Tritanopia (blue-blind)
#8F3E64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f1fa6;
/* rgb */ color: rgb(143, 31, 166);
/* oklch */ color: oklch(48.5% 0.209 319.9);
Tailwind
colors: {
  custom: {
    50: '#b46ac1',
    500: '#8f1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa6;
$custom-light: #b46ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa6",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 289.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.20915,
    "h": 319.9
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#8F1FA6
secondary
#6DC55B
accent
#EB3C5A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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