#8B3284#8B3284

#8B3284 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.157 H 331.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8B3284
RGBrgb(139, 50, 132)
HSLhsl(305, 47%, 37%)
HSVhsv(305, 64%, 55%)
CMYKcmyk(0%, 64%, 5%, 45.5%)
CIE-LABlab(36.81, 48.16, -27.72)
CIE-LCHlch(36.81, 55.57, 330.08°)
OKLaboklab(47.56% 0.137 -0.0761)
OKLCHoklch(47.56% 0.157 331)
XYZxyz(15.9529, 9.4373, 22.8067)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3284 #328B39
analogous
#66328B #8B3284 #8B3258
triadic
#8B3284 #848B32 #32848B
tetradic
#8B3284 #8B6632 #328B39 #32588B
square
#8B3284 #8B6632 #328B39 #32588B
split-complementary
#8B3284 #588B32 #328B66
monochromatic
#31122F #5E2259 #8B3284 #B842AF #CA6DC3

Accessibility & contrast

On white

7.27
#8B3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3284
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3284#FFFFFF#000000##FFFFFF
##8B32841.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F86
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#903B56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b3284;
/* rgb */ color: rgb(139, 50, 132);
/* oklch */ color: oklch(47.6% 0.157 331.0);
Tailwind
colors: {
  custom: {
    50: '#b070a8',
    500: '#8b3284',
    950: '#000000',
  },
}
SCSS
$custom: #8b3284;
$custom-light: #b070a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3284",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 304.719,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.15674,
    "h": 331
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#8B3284
secondary
#67B26D
accent
#D75C51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B3284

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

Preview Lab → · Contrast checker → · Palette generator →

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