#8B3286#8B3286

#8B3286 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.158 H 330.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B3286
RGBrgb(139, 50, 134)
HSLhsl(303, 47%, 37%)
HSVhsv(303, 64%, 55%)
CMYKcmyk(0%, 64%, 3.6%, 45.5%)
CIE-LABlab(36.92, 48.51, -28.79)
CIE-LCHlch(36.92, 56.42, 329.31°)
OKLaboklab(47.67% 0.1372 -0.0792)
OKLCHoklch(47.67% 0.158 330)
XYZxyz(16.0910, 9.4925, 23.5344)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3286 #328B37
analogous
#64328B #8B3286 #8B325A
triadic
#8B3286 #868B32 #32868B
tetradic
#8B3286 #8B6432 #328B37 #325A8B
square
#8B3286 #8B6432 #328B37 #325A8B
split-complementary
#8B3286 #5A8B32 #328B64
monochromatic
#31122F #5E225B #8B3286 #B842B1 #CA6DC5

Accessibility & contrast

On white

7.25
#8B3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3286
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3286#FFFFFF#000000##FFFFFF
##8B32861.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#4A5B84
Tritanopia (blue-blind)
#903C57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b3286;
/* rgb */ color: rgb(139, 50, 134);
/* oklch */ color: oklch(47.7% 0.158 330.0);
Tailwind
colors: {
  custom: {
    50: '#b070a9',
    500: '#8b3286',
    950: '#000000',
  },
}
SCSS
$custom: #8b3286;
$custom-light: #b070a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3286",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 303.371,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.15843,
    "h": 330
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#8B3286
secondary
#67B26B
accent
#D75951
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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