#8F1FA7#8F1FA7

#8F1FA7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.210 H 319.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA7
RGBrgb(143, 31, 167)
HSLhsl(289, 69%, 39%)
HSVhsv(289, 81%, 65%)
CMYKcmyk(14.4%, 81.4%, 0%, 34.5%)
CIE-LABlab(37.13, 62.25, -48.48)
CIE-LCHlch(37.13, 78.90, 322.09°)
OKLaboklab(48.59% 0.1598 -0.1362)
OKLCHoklch(48.59% 0.21 319.5)
XYZxyz(18.7918, 9.6106, 37.4169)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA7 #37A71F
analogous
#4B1FA7 #8F1FA7 #A71F7B
triadic
#8F1FA7 #A78F1F #1FA78F
tetradic
#8F1FA7 #A74B1F #37A71F #1F7BA7
square
#8F1FA7 #A74B1F #37A71F #1F7BA7
split-complementary
#8F1FA7 #7BA71F #1FA74B
monochromatic
#370C40 #631573 #8F1FA7 #B92BD8 #CA5FE1

Accessibility & contrast

On white

7.19
#8F1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F1FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA7#FFFFFF#000000##FFFFFF
##8F1FA71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1fa7;
/* rgb */ color: rgb(143, 31, 167);
/* oklch */ color: oklch(48.6% 0.210 319.5);
Tailwind
colors: {
  custom: {
    50: '#b46ac2',
    500: '#8f1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa7;
$custom-light: #b46ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa7",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 289.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.20997,
    "h": 319.5
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#8F1FA7
secondary
#6FC65C
accent
#EC3C5B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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