#8B2B99#8B2B99

#8B2B99 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 322.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8B2B99
RGBrgb(139, 43, 153)
HSLhsl(292, 56%, 38%)
HSVhsv(292, 72%, 60%)
CMYKcmyk(9.2%, 71.9%, 0%, 40%)
CIE-LABlab(36.96, 54.86, -40.34)
CIE-LCHlch(36.96, 68.09, 323.67°)
OKLaboklab(48.05% 0.1458 -0.1126)
OKLCHoklch(48.05% 0.184 322.3)
XYZxyz(17.2605, 9.5176, 31.0587)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B99 #39992B
analogous
#542B99 #8B2B99 #992B70
triadic
#8B2B99 #998B2B #2B998B
tetradic
#8B2B99 #99542B #39992B #2B7099
square
#8B2B99 #99542B #39992B #2B7099
split-complementary
#8B2B99 #70992B #2B9954
monochromatic
#341039 #601E69 #8B2B99 #B53AC8 #C769D5

Accessibility & contrast

On white

7.23
#8B2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B99
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B99#FFFFFF#000000##FFFFFF
##8B2B991.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3A5B96
Tritanopia (blue-blind)
#8D3F5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2b99;
/* rgb */ color: rgb(139, 43, 153);
/* oklch */ color: oklch(48.1% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#b06eb7',
    500: '#8b2b99',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b99;
$custom-light: #b06eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b99",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 292.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.18421,
    "h": 322.3
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#8B2B99
secondary
#6FBC64
accent
#DF485C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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