#8F1FA1#8F1FA1

#8F1FA1 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.205 H 321.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA1
RGBrgb(143, 31, 161)
HSLhsl(292, 68%, 38%)
HSVhsv(292, 81%, 63%)
CMYKcmyk(11.2%, 80.7%, 0%, 36.9%)
CIE-LABlab(36.73, 61.16, -45.51)
CIE-LCHlch(36.73, 76.24, 323.35°)
OKLaboklab(48.18% 0.1606 -0.1276)
OKLCHoklch(48.18% 0.205 321.5)
XYZxyz(18.2500, 9.3939, 34.5632)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA1 #31A11F
analogous
#4E1FA1 #8F1FA1 #A11F72
triadic
#8F1FA1 #A18F1F #1FA18F
tetradic
#8F1FA1 #A14E1F #31A11F #1F72A1
square
#8F1FA1 #A14E1F #31A11F #1F72A1
split-complementary
#8F1FA1 #72A11F #1FA14E
monochromatic
#340B3A #61156E #8F1FA1 #BD29D4 #CD5BDF

Accessibility & contrast

On white

7.30
#8F1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F1FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA1#FFFFFF#000000##FFFFFF
##8F1FA11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#325A9E
Tritanopia (blue-blind)
#903B61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1fa1;
/* rgb */ color: rgb(143, 31, 161);
/* oklch */ color: oklch(48.2% 0.205 321.5);
Tailwind
colors: {
  custom: {
    50: '#b46abd',
    500: '#8f1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa1;
$custom-light: #b46abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa1",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 291.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.20509,
    "h": 321.5
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#8F1FA1
secondary
#67C458
accent
#EB3D55
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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