#8B2193#8B2193

#8B2193 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 324.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8B2193
RGBrgb(139, 33, 147)
HSLhsl(296, 63%, 35%)
HSVhsv(296, 78%, 58%)
CMYKcmyk(5.4%, 77.6%, 0%, 42.4%)
CIE-LABlab(35.37, 57.26, -39.23)
CIE-LCHlch(35.37, 69.41, 325.59°)
OKLaboklab(46.8% 0.1556 -0.1093)
OKLCHoklch(46.8% 0.19 324.9)
XYZxyz(16.4574, 8.6843, 28.4075)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2193 #299321
analogous
#522193 #8B2193 #932162
triadic
#8B2193 #938B21 #21938B
tetradic
#8B2193 #935221 #299321 #216293
square
#8B2193 #935221 #299321 #216293
split-complementary
#8B2193 #629321 #219352
monochromatic
#2C0B2F #5C1661 #8B2193 #BA2CC5 #D055D9

Accessibility & contrast

On white

7.67
#8B2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2193
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2193#FFFFFF#000000##FFFFFF
##8B21931.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#8E3659
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2193;
/* rgb */ color: rgb(139, 33, 147);
/* oklch */ color: oklch(46.8% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#b169b3',
    500: '#8b2193',
    950: '#000000',
  },
}
SCSS
$custom: #8b2193;
$custom-light: #b169b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2193",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 295.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.19019,
    "h": 324.9
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#8B2193
secondary
#5BBD53
accent
#E6414D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2193

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

Preview Lab → · Contrast checker → · Palette generator →

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