#8B2194#8B2194

#8B2194 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.191 H 324.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8B2194
RGBrgb(139, 33, 148)
HSLhsl(295, 64%, 35%)
HSVhsv(295, 78%, 58%)
CMYKcmyk(6.1%, 77.7%, 0%, 42%)
CIE-LABlab(35.43, 57.44, -39.74)
CIE-LCHlch(35.43, 69.85, 325.32°)
OKLaboklab(46.86% 0.1556 -0.1108)
OKLCHoklch(46.86% 0.191 324.5)
XYZxyz(16.5362, 8.7159, 28.8226)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2194 #2A9421
analogous
#512194 #8B2194 #942164
triadic
#8B2194 #948B21 #21948B
tetradic
#8B2194 #945121 #2A9421 #216494
square
#8B2194 #945121 #2A9421 #216494
split-complementary
#8B2194 #649421 #219451
monochromatic
#2D0B30 #5C1662 #8B2194 #BA2CC6 #CF56D9

Accessibility & contrast

On white

7.66
#8B2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2194
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2194#FFFFFF#000000##FFFFFF
##8B21941.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#8E375A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2194;
/* rgb */ color: rgb(139, 33, 148);
/* oklch */ color: oklch(46.9% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#b169b4',
    500: '#8b2194',
    950: '#000000',
  },
}
SCSS
$custom: #8b2194;
$custom-light: #b169b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2194",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 295.304,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.19101,
    "h": 324.5
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#8B2194
secondary
#5CBD54
accent
#E7414E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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