#8F2391#8F2391

#8F2391 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.188 H 327.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2391
RGBrgb(143, 35, 145)
HSLhsl(299, 61%, 35%)
HSVhsv(299, 76%, 57%)
CMYKcmyk(1.4%, 75.9%, 0%, 43.1%)
CIE-LABlab(36.15, 57.14, -36.72)
CIE-LCHlch(36.15, 67.92, 327.27°)
OKLaboklab(47.45% 0.1585 -0.1019)
OKLCHoklch(47.45% 0.188 327.3)
XYZxyz(17.0393, 9.0873, 27.6391)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2391 #259123
analogous
#582391 #8F2391 #91235C
triadic
#8F2391 #918F23 #23918F
tetradic
#8F2391 #915823 #259123 #235C91
square
#8F2391 #915823 #259123 #235C91
split-complementary
#8F2391 #5C9123 #239158
monochromatic
#2E0B2E #5E1760 #8F2391 #C02FC2 #D458D7

Accessibility & contrast

On white

7.45
#8F2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2391
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2391#FFFFFF#000000##FFFFFF
##8F23911.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#933559
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2391;
/* rgb */ color: rgb(143, 35, 145);
/* oklch */ color: oklch(47.4% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8f2391',
    950: '#000000',
  },
}
SCSS
$custom: #8f2391;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2391",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 298.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.1884,
    "h": 327.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#8F2391
secondary
#57BB55
accent
#E44446
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2391

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

Preview Lab → · Contrast checker → · Palette generator →

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