#8B219D#8B219D

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

Color values

HEX#8B219D
RGBrgb(139, 33, 157)
HSLhsl(291, 65%, 37%)
HSVhsv(291, 79%, 62%)
CMYKcmyk(11.5%, 79%, 0%, 38.4%)
CIE-LABlab(36.01, 59.06, -44.30)
CIE-LCHlch(36.01, 73.83, 323.13°)
OKLaboklab(47.45% 0.1548 -0.1241)
OKLCHoklch(47.45% 0.198 321.3)
XYZxyz(17.2764, 9.0120, 32.7212)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B219D #339D21
analogous
#4D219D #8B219D #9D2171
triadic
#8B219D #9D8B21 #219D8B
tetradic
#8B219D #9D4D21 #339D21 #21719D
square
#8B219D #9D4D21 #339D21 #21719D
split-complementary
#8B219D #719D21 #219D4D
monochromatic
#310C38 #5E166A #8B219D #B82CD0 #CA5CDD

Accessibility & contrast

On white

7.49
#8B219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B219D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B219D#FFFFFF#000000##FFFFFF
##8B219D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#8C3B5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b219d;
/* rgb */ color: rgb(139, 33, 157);
/* oklch */ color: oklch(47.5% 0.198 321.3);
Tailwind
colors: {
  custom: {
    50: '#b16aba',
    500: '#8b219d',
    950: '#000000',
  },
}
SCSS
$custom: #8b219d;
$custom-light: #b16aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b219d",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 291.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.1984,
    "h": 321.3
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#8B219D
secondary
#68C159
accent
#E84058
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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