#8F5391#8F5391

#8F5391 is a mid, moderate purple. Relative luminance 0.141; OKLCH L 53.4% C 0.116 H 325.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F5391
RGBrgb(143, 83, 145)
HSLhsl(298, 27%, 45%)
HSVhsv(298, 43%, 57%)
CMYKcmyk(1.4%, 42.8%, 0%, 43.1%)
CIE-LABlab(44.34, 34.99, -23.86)
CIE-LCHlch(44.34, 42.35, 325.70°)
OKLaboklab(53.44% 0.0964 -0.0653)
OKLCHoklch(53.44% 0.116 325.9)
XYZxyz(19.5314, 14.0714, 28.4698)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5391 #559153
analogous
#705391 #8F5391 #915374
triadic
#8F5391 #918F53 #53918F
tetradic
#8F5391 #917053 #559153 #537491
square
#8F5391 #917053 #559153 #537491
split-complementary
#8F5391 #749153 #539170
monochromatic
#422643 #693D6A #8F5391 #AD73AF #C49AC5

Accessibility & contrast

On white

5.51
#8F5391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F5391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5391
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5391#FFFFFF#000000##FFFFFF
##8F53911.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#92596B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f5391;
/* rgb */ color: rgb(143, 83, 145);
/* oklch */ color: oklch(53.4% 0.116 325.9);
Tailwind
colors: {
  custom: {
    50: '#b185b1',
    500: '#8f5391',
    950: '#000000',
  },
}
SCSS
$custom: #8f5391;
$custom-light: #b185b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5391",
  "rgb": {
    "r": 143,
    "g": 83,
    "b": 145
  },
  "hsl": {
    "h": 298.065,
    "s": 27.193,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.1164,
    "h": 325.9
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#8F5391
secondary
#8FB28E
accent
#C46467
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8F5391

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

Preview Lab → · Contrast checker → · Palette generator →

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