#8B219C#8B219C

#8B219C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 321.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8B219C
RGBrgb(139, 33, 156)
HSLhsl(292, 65%, 37%)
HSVhsv(292, 79%, 61%)
CMYKcmyk(10.9%, 78.8%, 0%, 38.8%)
CIE-LABlab(35.94, 58.88, -43.79)
CIE-LCHlch(35.94, 73.38, 323.36°)
OKLaboklab(47.39% 0.1549 -0.1227)
OKLCHoklch(47.39% 0.198 321.6)
XYZxyz(17.1914, 8.9780, 32.2734)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B219C #329C21
analogous
#4D219C #8B219C #9C2170
triadic
#8B219C #9C8B21 #219C8B
tetradic
#8B219C #9C4D21 #329C21 #21709C
square
#8B219C #9C4D21 #329C21 #21709C
split-complementary
#8B219C #709C21 #219C4D
monochromatic
#310C37 #5E1669 #8B219C #B82CCF #CA5BDC

Accessibility & contrast

On white

7.51
#8B219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B219C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B219C#FFFFFF#000000##FFFFFF
##8B219C1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#8C3A5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b219c;
/* rgb */ color: rgb(139, 33, 156);
/* oklch */ color: oklch(47.4% 0.198 321.6);
Tailwind
colors: {
  custom: {
    50: '#b16aba',
    500: '#8b219c',
    950: '#000000',
  },
}
SCSS
$custom: #8b219c;
$custom-light: #b16aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b219c",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 291.707,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47386,
    "c": 0.19757,
    "h": 321.6
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#8B219C
secondary
#67C158
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B219C

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

Preview Lab → · Contrast checker → · Palette generator →

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