#8F4B97#8F4B97

#8F4B97 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.5% C 0.137 H 323.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F4B97
RGBrgb(143, 75, 151)
HSLhsl(294, 34%, 44%)
HSVhsv(294, 50%, 59%)
CMYKcmyk(5.3%, 50.3%, 0%, 40.8%)
CIE-LABlab(42.92, 40.55, -29.66)
CIE-LCHlch(42.92, 50.25, 323.82°)
OKLaboklab(52.48% 0.1096 -0.0818)
OKLCHoklch(52.48% 0.137 323.3)
XYZxyz(19.4291, 13.1071, 30.7787)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4B97 #53974B
analogous
#694B97 #8F4B97 #974B79
triadic
#8F4B97 #978F4B #4B978F
tetradic
#8F4B97 #97694B #53974B #4B7997
square
#8F4B97 #97694B #53974B #4B7997
split-complementary
#8F4B97 #79974B #4B9769
monochromatic
#422245 #68376E #8F4B97 #AD6AB5 #C493C9

Accessibility & contrast

On white

5.80
#8F4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F4B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4B97
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4B97#FFFFFF#000000##FFFFFF
##8F4B971.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41609A
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#91546A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f4b97;
/* rgb */ color: rgb(143, 75, 151);
/* oklch */ color: oklch(52.5% 0.137 323.3);
Tailwind
colors: {
  custom: {
    50: '#b280b6',
    500: '#8f4b97',
    950: '#000000',
  },
}
SCSS
$custom: #8f4b97;
$custom-light: #b280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4b97",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 293.684,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.13677,
    "h": 323.3
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#8F4B97
secondary
#8DB688
accent
#CA5E69
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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