#8B4097#8B4097

#8B4097 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.153 H 321.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B4097
RGBrgb(139, 64, 151)
HSLhsl(292, 40%, 42%)
HSVhsv(292, 58%, 59%)
CMYKcmyk(7.9%, 57.6%, 0%, 40.8%)
CIE-LABlab(40.23, 45.11, -33.94)
CIE-LCHlch(40.23, 56.45, 323.04°)
OKLaboklab(50.38% 0.1203 -0.0942)
OKLCHoklch(50.38% 0.153 321.9)
XYZxyz(18.0662, 11.3910, 30.5192)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4097 #4C9740
analogous
#604097 #8B4097 #974078
triadic
#8B4097 #978B40 #40978B
tetradic
#8B4097 #976040 #4C9740 #407897
square
#8B4097 #976040 #4C9740 #407897
split-complementary
#8B4097 #789740 #409760
monochromatic
#3C1C41 #632E6C #8B4097 #AC5BB9 #C286CC

Accessibility & contrast

On white

6.41
#8B4097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8B4097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4097
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4097#FFFFFF#000000##FFFFFF
##8B40971.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#8D4C65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b4097;
/* rgb */ color: rgb(139, 64, 151);
/* oklch */ color: oklch(50.4% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#af79b6',
    500: '#8b4097',
    950: '#000000',
  },
}
SCSS
$custom: #8b4097;
$custom-light: #af79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4097",
  "rgb": {
    "r": 139,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 291.724,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.15276,
    "h": 321.9
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#8B4097
secondary
#85B67D
accent
#D05768
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8B4097

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

Preview Lab → · Contrast checker → · Palette generator →

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