#8F2491#8F2491

#8F2491 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.187 H 327.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F2491
RGBrgb(143, 36, 145)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 57%)
CMYKcmyk(1.4%, 75.2%, 0%, 43.1%)
CIE-LABlab(36.27, 56.81, -36.54)
CIE-LCHlch(36.27, 67.55, 327.25°)
OKLaboklab(47.53% 0.1575 -0.1014)
OKLCHoklch(47.53% 0.187 327.2)
XYZxyz(17.0691, 9.1469, 27.6491)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2491 #269124
analogous
#582491 #8F2491 #91245C
triadic
#8F2491 #918F24 #24918F
tetradic
#8F2491 #915824 #269124 #245C91
square
#8F2491 #915824 #269124 #245C91
split-complementary
#8F2491 #5C9124 #249158
monochromatic
#2E0C2F #5F1860 #8F2491 #BF30C2 #D459D6

Accessibility & contrast

On white

7.42
#8F2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2491
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2491#FFFFFF#000000##FFFFFF
##8F24911.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084D94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#933659
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2491;
/* rgb */ color: rgb(143, 36, 145);
/* oklch */ color: oklch(47.5% 0.187 327.2);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8f2491',
    950: '#000000',
  },
}
SCSS
$custom: #8f2491;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2491",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 298.899,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.18735,
    "h": 327.2
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#8F2491
secondary
#58BA56
accent
#E34447
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2491

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

Preview Lab → · Contrast checker → · Palette generator →

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