#8B2199#8B2199

#8B2199 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.195 H 322.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8B2199
RGBrgb(139, 33, 153)
HSLhsl(293, 65%, 36%)
HSVhsv(293, 78%, 60%)
CMYKcmyk(9.2%, 78.4%, 0%, 40%)
CIE-LABlab(35.75, 58.33, -42.28)
CIE-LCHlch(35.75, 72.05, 324.06°)
OKLaboklab(47.19% 0.1552 -0.1182)
OKLCHoklch(47.19% 0.195 322.7)
XYZxyz(16.9405, 8.8776, 30.9521)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2199 #2F9921
analogous
#4F2199 #8B2199 #99216B
triadic
#8B2199 #998B21 #21998B
tetradic
#8B2199 #994F21 #2F9921 #216B99
square
#8B2199 #994F21 #2F9921 #216B99
split-complementary
#8B2199 #6B9921 #21994F
monochromatic
#300B34 #5D1667 #8B2199 #B92CCB #CC59DB

Accessibility & contrast

On white

7.57
#8B2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2199
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2199#FFFFFF#000000##FFFFFF
##8B21991.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#8D395D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2199;
/* rgb */ color: rgb(139, 33, 153);
/* oklch */ color: oklch(47.2% 0.195 322.7);
Tailwind
colors: {
  custom: {
    50: '#b169b8',
    500: '#8b2199',
    950: '#000000',
  },
}
SCSS
$custom: #8b2199;
$custom-light: #b169b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2199",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 293,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.19509,
    "h": 322.7
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#8B2199
secondary
#63BF56
accent
#E84054
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2199

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

Preview Lab → · Contrast checker → · Palette generator →

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