#8F1DA1#8F1DA1

#8F1DA1 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.207 H 321.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8F1DA1
RGBrgb(143, 29, 161)
HSLhsl(292, 69%, 37%)
HSVhsv(292, 82%, 63%)
CMYKcmyk(11.2%, 82%, 0%, 36.9%)
CIE-LABlab(36.54, 61.72, -45.82)
CIE-LCHlch(36.54, 76.87, 323.41°)
OKLaboklab(48.04% 0.1621 -0.1284)
OKLCHoklch(48.04% 0.207 321.6)
XYZxyz(18.1994, 9.2926, 34.5464)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1DA1 #2FA11D
analogous
#4D1DA1 #8F1DA1 #A11D71
triadic
#8F1DA1 #A18F1D #1DA18F
tetradic
#8F1DA1 #A14D1D #2FA11D #1D71A1
square
#8F1DA1 #A14D1D #2FA11D #1D71A1
split-complementary
#8F1DA1 #71A11D #1DA14D
monochromatic
#330A39 #61146D #8F1DA1 #BD26D5 #CE58E1

Accessibility & contrast

On white

7.35
#8F1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1DA1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1DA1#FFFFFF#000000##FFFFFF
##8F1DA11.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#903A60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1da1;
/* rgb */ color: rgb(143, 29, 161);
/* oklch */ color: oklch(48.0% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#b469bd',
    500: '#8f1da1',
    950: '#000000',
  },
}
SCSS
$custom: #8f1da1;
$custom-light: #b469bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1da1",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 291.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.2068,
    "h": 321.6
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#8F1DA1
secondary
#65C455
accent
#EC3C54
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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