#8B3097#8B3097

#8B3097 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 322.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B3097
RGBrgb(139, 48, 151)
HSLhsl(293, 52%, 39%)
HSVhsv(293, 68%, 59%)
CMYKcmyk(7.9%, 68.2%, 0%, 40.8%)
CIE-LABlab(37.55, 52.48, -38.19)
CIE-LCHlch(37.55, 64.91, 323.96°)
OKLaboklab(48.43% 0.1404 -0.1064)
OKLCHoklch(48.43% 0.176 322.8)
XYZxyz(17.2898, 9.8382, 30.2604)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3097 #3C9730
analogous
#583097 #8B3097 #973070
triadic
#8B3097 #978B30 #30978B
tetradic
#8B3097 #975830 #3C9730 #307097
square
#8B3097 #975830 #3C9730 #307097
split-complementary
#8B3097 #709730 #309758
monochromatic
#36123A #602169 #8B3097 #B441C3 #C670D2

Accessibility & contrast

On white

7.08
#8B3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3097
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3097#FFFFFF#000000##FFFFFF
##8B30971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#8D4160
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b3097;
/* rgb */ color: rgb(139, 48, 151);
/* oklch */ color: oklch(48.4% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#b070b6',
    500: '#8b3097',
    950: '#000000',
  },
}
SCSS
$custom: #8b3097;
$custom-light: #b070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3097",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 293.01,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.17615,
    "h": 322.8
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#8B3097
secondary
#73B96A
accent
#DB4D5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3097

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

Preview Lab → · Contrast checker → · Palette generator →

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