#8F2591#8F2591

#8F2591 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 327.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8F2591
RGBrgb(143, 37, 145)
HSLhsl(299, 59%, 36%)
HSVhsv(299, 74%, 57%)
CMYKcmyk(1.4%, 74.5%, 0%, 43.1%)
CIE-LABlab(36.38, 56.48, -36.35)
CIE-LCHlch(36.38, 67.16, 327.23°)
OKLaboklab(47.61% 0.1566 -0.1009)
OKLCHoklch(47.61% 0.186 327.2)
XYZxyz(17.0998, 9.2083, 27.6593)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2591 #279125
analogous
#592591 #8F2591 #91255D
triadic
#8F2591 #918F25 #25918F
tetradic
#8F2591 #915925 #279125 #255D91
square
#8F2591 #915925 #279125 #255D91
split-complementary
#8F2591 #5D9125 #259159
monochromatic
#2F0C2F #5F1960 #8F2591 #BF31C2 #D35BD5

Accessibility & contrast

On white

7.39
#8F2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2591
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2591#FFFFFF#000000##FFFFFF
##8F25911.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D94
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#933659
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2591;
/* rgb */ color: rgb(143, 37, 145);
/* oklch */ color: oklch(47.6% 0.186 327.2);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8f2591',
    950: '#000000',
  },
}
SCSS
$custom: #8f2591;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2591",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 298.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.18627,
    "h": 327.2
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#8F2591
secondary
#5ABA58
accent
#E34548
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2591

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

Preview Lab → · Contrast checker → · Palette generator →

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