#8F5B97#8F5B97

#8F5B97 is a mid, moderate purple. Relative luminance 0.156; OKLCH L 55.1% C 0.108 H 322.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F5B97
RGBrgb(143, 91, 151)
HSLhsl(292, 25%, 47%)
HSVhsv(292, 40%, 59%)
CMYKcmyk(5.3%, 39.7%, 0%, 40.8%)
CIE-LABlab(46.39, 31.69, -24.27)
CIE-LCHlch(46.39, 39.92, 322.55°)
OKLaboklab(55.06% 0.0853 -0.0665)
OKLCHoklch(55.06% 0.108 322.1)
XYZxyz(20.6541, 15.5569, 31.1870)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5B97 #63975B
analogous
#715B97 #8F5B97 #975B81
triadic
#8F5B97 #978F5B #5B978F
tetradic
#8F5B97 #97715B #63975B #5B8197
square
#8F5B97 #97715B #63975B #5B8197
split-complementary
#8F5B97 #81975B #5B9771
monochromatic
#472D4B #6B4471 #8F5B97 #AA7EB1 #C3A4C8

Accessibility & contrast

On white

5.11
#8F5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5B97
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5B97#FFFFFF#000000##FFFFFF
##8F5B971.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#916272
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f5b97;
/* rgb */ color: rgb(143, 91, 151);
/* oklch */ color: oklch(55.1% 0.108 322.1);
Tailwind
colors: {
  custom: {
    50: '#b18ab5',
    500: '#8f5b97',
    950: '#000000',
  },
}
SCSS
$custom: #8f5b97;
$custom-light: #b18ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5b97",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 292,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.10812,
    "h": 322.1
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#8F5B97
secondary
#9CB698
accent
#C16773
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #8F5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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