#8B5397#8B5397

#8B5397 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.2% C 0.120 H 320.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8B5397
RGBrgb(139, 83, 151)
HSLhsl(289, 29%, 46%)
HSVhsv(289, 45%, 59%)
CMYKcmyk(7.9%, 45%, 0%, 40.8%)
CIE-LABlab(44.10, 34.95, -27.86)
CIE-LCHlch(44.10, 44.69, 321.44°)
OKLaboklab(53.24% 0.0927 -0.0768)
OKLCHoklch(53.24% 0.12 320.4)
XYZxyz(19.3259, 13.9105, 30.9391)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5397 #5F9753
analogous
#695397 #8B5397 #975381
triadic
#8B5397 #978B53 #53978B
tetradic
#8B5397 #976953 #5F9753 #538197
square
#8B5397 #976953 #5F9753 #538197
split-complementary
#8B5397 #819753 #539769
monochromatic
#422848 #673D70 #8B5397 #A874B3 #C19CC9

Accessibility & contrast

On white

5.55
#8B5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5397
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5397#FFFFFF#000000##FFFFFF
##8B53971.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#8C5C6E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b5397;
/* rgb */ color: rgb(139, 83, 151);
/* oklch */ color: oklch(53.2% 0.120 320.4);
Tailwind
colors: {
  custom: {
    50: '#ae85b6',
    500: '#8b5397',
    950: '#000000',
  },
}
SCSS
$custom: #8b5397;
$custom-light: #ae85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5397",
  "rgb": {
    "r": 139,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 289.412,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53244,
    "c": 0.12032,
    "h": 320.4
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#8B5397
secondary
#97B690
accent
#C56274
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8B5397

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

Preview Lab → · Contrast checker → · Palette generator →

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