#8B3294#8B3294

#8B3294 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 323.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8B3294
RGBrgb(139, 50, 148)
HSLhsl(294, 49%, 39%)
HSVhsv(294, 66%, 58%)
CMYKcmyk(6.1%, 66.2%, 0%, 42%)
CIE-LABlab(37.68, 51.07, -36.16)
CIE-LCHlch(37.68, 62.58, 324.70°)
OKLaboklab(48.47% 0.138 -0.1005)
OKLCHoklch(48.47% 0.171 323.9)
XYZxyz(17.1329, 9.9093, 29.0215)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3294 #3B9432
analogous
#5A3294 #8B3294 #94326C
triadic
#8B3294 #948B32 #32948B
tetradic
#8B3294 #945A32 #3B9432 #326C94
square
#8B3294 #945A32 #3B9432 #326C94
split-complementary
#8B3294 #6C9432 #32945A
monochromatic
#351339 #602366 #8B3294 #B444C0 #C771CF

Accessibility & contrast

On white

7.04
#8B3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3294
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3294#FFFFFF#000000##FFFFFF
##8B32941.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5297
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#8E415F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b3294;
/* rgb */ color: rgb(139, 50, 148);
/* oklch */ color: oklch(48.5% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#b071b4',
    500: '#8b3294',
    950: '#000000',
  },
}
SCSS
$custom: #8b3294;
$custom-light: #b071b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3294",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 294.49,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.17076,
    "h": 323.9
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#8B3294
secondary
#72B76B
accent
#D94F5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3294

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

Preview Lab → · Contrast checker → · Palette generator →

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