#8F1FA0#8F1FA0

#8F1FA0 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.204 H 321.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA0
RGBrgb(143, 31, 160)
HSLhsl(292, 68%, 37%)
HSVhsv(292, 81%, 63%)
CMYKcmyk(10.6%, 80.6%, 0%, 37.3%)
CIE-LABlab(36.67, 60.98, -45.02)
CIE-LCHlch(36.67, 75.80, 323.57°)
OKLaboklab(48.11% 0.1607 -0.1261)
OKLCHoklch(48.11% 0.204 321.9)
XYZxyz(18.1622, 9.3587, 34.1007)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA0 #30A01F
analogous
#4F1FA0 #8F1FA0 #A01F71
triadic
#8F1FA0 #A08F1F #1FA08F
tetradic
#8F1FA0 #A04F1F #30A01F #1F71A0
square
#8F1FA0 #A04F1F #30A01F #1F71A0
split-complementary
#8F1FA0 #71A01F #1FA04F
monochromatic
#330B39 #61156D #8F1FA0 #BD29D3 #CE5ADF

Accessibility & contrast

On white

7.31
#8F1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA0#FFFFFF#000000##FFFFFF
##8F1FA01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#335A9D
Tritanopia (blue-blind)
#903B60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1fa0;
/* rgb */ color: rgb(143, 31, 160);
/* oklch */ color: oklch(48.1% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#b46abd',
    500: '#8f1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa0;
$custom-light: #b46abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa0",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 292.093,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.20428,
    "h": 321.9
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#8F1FA0
secondary
#66C358
accent
#EA3D54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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