#8B219E#8B219E

#8B219E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.199 H 320.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8B219E
RGBrgb(139, 33, 158)
HSLhsl(291, 65%, 37%)
HSVhsv(291, 79%, 62%)
CMYKcmyk(12%, 79.1%, 0%, 38%)
CIE-LABlab(36.07, 59.25, -44.80)
CIE-LCHlch(36.07, 74.27, 322.91°)
OKLaboklab(47.52% 0.1546 -0.1256)
OKLCHoklch(47.52% 0.199 320.9)
XYZxyz(17.3622, 9.0463, 33.1727)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B219E #349E21
analogous
#4D219E #8B219E #9E2173
triadic
#8B219E #9E8B21 #219E8B
tetradic
#8B219E #9E4D21 #349E21 #21739E
square
#8B219E #9E4D21 #349E21 #21739E
split-complementary
#8B219E #739E21 #219E4D
monochromatic
#320C39 #5E166B #8B219E #B82CD1 #C95CDD

Accessibility & contrast

On white

7.48
#8B219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B219E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B219E#FFFFFF#000000##FFFFFF
##8B219E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#30599B
Tritanopia (blue-blind)
#8C3B5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b219e;
/* rgb */ color: rgb(139, 33, 158);
/* oklch */ color: oklch(47.5% 0.199 320.9);
Tailwind
colors: {
  custom: {
    50: '#b16abb',
    500: '#8b219e',
    950: '#000000',
  },
}
SCSS
$custom: #8b219e;
$custom-light: #b16abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b219e",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 290.88,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.19922,
    "h": 320.9
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#8B219E
secondary
#69C159
accent
#E83F59
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B219E

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

Preview Lab → · Contrast checker → · Palette generator →

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