#8F1FA8#8F1FA8

#8F1FA8 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.211 H 319.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8F1FA8
RGBrgb(143, 31, 168)
HSLhsl(289, 69%, 39%)
HSVhsv(289, 82%, 66%)
CMYKcmyk(14.9%, 81.5%, 0%, 34.1%)
CIE-LABlab(37.20, 62.44, -48.97)
CIE-LCHlch(37.20, 79.35, 321.90°)
OKLaboklab(48.66% 0.1596 -0.1377)
OKLCHoklch(48.66% 0.211 319.2)
XYZxyz(18.8846, 9.6477, 37.9057)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FA8 #38A81F
analogous
#4B1FA8 #8F1FA8 #A81F7D
triadic
#8F1FA8 #A88F1F #1FA88F
tetradic
#8F1FA8 #A84B1F #38A81F #1F7DA8
square
#8F1FA8 #A84B1F #38A81F #1F7DA8
split-complementary
#8F1FA8 #7DA81F #1FA84B
monochromatic
#370C41 #631574 #8F1FA8 #B92CD8 #CA60E2

Accessibility & contrast

On white

7.17
#8F1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1FA8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FA8#FFFFFF#000000##FFFFFF
##8F1FA81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#8F3F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f1fa8;
/* rgb */ color: rgb(143, 31, 168);
/* oklch */ color: oklch(48.7% 0.211 319.2);
Tailwind
colors: {
  custom: {
    50: '#b46ac3',
    500: '#8f1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fa8;
$custom-light: #b46ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fa8",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 289.051,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.21079,
    "h": 319.2
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#8F1FA8
secondary
#70C65D
accent
#EC3C5C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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