#8B3293#8B3293

#8B3293 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.170 H 324.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8B3293
RGBrgb(139, 50, 147)
HSLhsl(295, 49%, 39%)
HSVhsv(295, 66%, 58%)
CMYKcmyk(5.4%, 66%, 0%, 42.4%)
CIE-LABlab(37.62, 50.88, -35.64)
CIE-LCHlch(37.62, 62.12, 324.99°)
OKLaboklab(48.41% 0.138 -0.099)
OKLCHoklch(48.41% 0.17 324.3)
XYZxyz(17.0541, 9.8778, 28.6064)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3293 #3A9332
analogous
#5A3293 #8B3293 #93326A
triadic
#8B3293 #938B32 #32938B
tetradic
#8B3293 #935A32 #3A9332 #326A93
square
#8B3293 #935A32 #3A9332 #326A93
split-complementary
#8B3293 #6A9332 #32935A
monochromatic
#351338 #602265 #8B3293 #B543BF #C771CF

Accessibility & contrast

On white

7.06
#8B3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B3293
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3293#FFFFFF#000000##FFFFFF
##8B32931.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5296
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#8E415E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b3293;
/* rgb */ color: rgb(139, 50, 147);
/* oklch */ color: oklch(48.4% 0.170 324.3);
Tailwind
colors: {
  custom: {
    50: '#b071b3',
    500: '#8b3293',
    950: '#000000',
  },
}
SCSS
$custom: #8b3293;
$custom-light: #b071b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3293",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 295.052,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.16986,
    "h": 324.3
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#8B3293
secondary
#71B76A
accent
#D94F5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3293

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

Preview Lab → · Contrast checker → · Palette generator →

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