#8F4F97#8F4F97

#8F4F97 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.1% C 0.130 H 323.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8F4F97
RGBrgb(143, 79, 151)
HSLhsl(293, 31%, 45%)
HSVhsv(293, 48%, 59%)
CMYKcmyk(5.3%, 47.7%, 0%, 40.8%)
CIE-LABlab(43.75, 38.40, -28.37)
CIE-LCHlch(43.75, 47.74, 323.54°)
OKLaboklab(53.09% 0.1037 -0.0781)
OKLCHoklch(53.09% 0.13 323)
XYZxyz(19.7090, 13.6668, 30.8719)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4F97 #57974F
analogous
#6B4F97 #8F4F97 #974F7B
triadic
#8F4F97 #978F4F #4F978F
tetradic
#8F4F97 #976B4F #57974F #4F7B97
square
#8F4F97 #976B4F #57974F #4F7B97
split-complementary
#8F4F97 #7B974F #4F976B
monochromatic
#432547 #693A6F #8F4F97 #AC6FB4 #C398C9

Accessibility & contrast

On white

5.63
#8F4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4F97
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4F97#FFFFFF#000000##FFFFFF
##8F4F971.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#91586C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4f97;
/* rgb */ color: rgb(143, 79, 151);
/* oklch */ color: oklch(53.1% 0.130 323.0);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8f4f97',
    950: '#000000',
  },
}
SCSS
$custom: #8f4f97;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4f97",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 293.333,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.12981,
    "h": 323
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#8F4F97
secondary
#91B68C
accent
#C7606C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8F4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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