#8F4D97#8F4D97

#8F4D97 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.8% C 0.133 H 323.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F4D97
RGBrgb(143, 77, 151)
HSLhsl(294, 32%, 45%)
HSVhsv(294, 49%, 59%)
CMYKcmyk(5.3%, 49%, 0%, 40.8%)
CIE-LABlab(43.33, 39.48, -29.02)
CIE-LCHlch(43.33, 49.00, 323.68°)
OKLaboklab(52.78% 0.1067 -0.08)
OKLCHoklch(52.78% 0.133 323.1)
XYZxyz(19.5669, 13.3826, 30.8246)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4D97 #55974D
analogous
#6A4D97 #8F4D97 #974D7A
triadic
#8F4D97 #978F4D #4D978F
tetradic
#8F4D97 #976A4D #55974D #4D7A97
square
#8F4D97 #976A4D #55974D #4D7A97
split-complementary
#8F4D97 #7A974D #4D976A
monochromatic
#422446 #69386E #8F4D97 #AD6DB4 #C495C9

Accessibility & contrast

On white

5.71
#8F4D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F4D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4D97
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4D97#FFFFFF#000000##FFFFFF
##8F4D971.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#91566B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f4d97;
/* rgb */ color: rgb(143, 77, 151);
/* oklch */ color: oklch(52.8% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#b181b6',
    500: '#8f4d97',
    950: '#000000',
  },
}
SCSS
$custom: #8f4d97;
$custom-light: #b181b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4d97",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 293.514,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.13331,
    "h": 323.1
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#8F4D97
secondary
#8FB68A
accent
#C95F6B
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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