#8B2B91#8B2B91

#8B2B91 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 325.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8B2B91
RGBrgb(139, 43, 145)
HSLhsl(296, 54%, 37%)
HSVhsv(296, 70%, 57%)
CMYKcmyk(4.1%, 70.3%, 0%, 43.1%)
CIE-LABlab(36.48, 53.38, -36.23)
CIE-LCHlch(36.48, 64.52, 325.84°)
OKLaboklab(47.55% 0.1459 -0.1007)
OKLCHoklch(47.55% 0.177 325.4)
XYZxyz(16.6218, 9.2621, 27.6948)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B91 #31912B
analogous
#582B91 #8B2B91 #912B64
triadic
#8B2B91 #918B2B #2B918B
tetradic
#8B2B91 #91582B #31912B #2B6491
square
#8B2B91 #91582B #31912B #2B6491
split-complementary
#8B2B91 #64912B #2B9158
monochromatic
#310F33 #5E1D62 #8B2B91 #B839C0 #CB65D1

Accessibility & contrast

On white

7.36
#8B2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B91
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B91#FFFFFF#000000##FFFFFF
##8B2B911.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#8E3B5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2b91;
/* rgb */ color: rgb(139, 43, 145);
/* oklch */ color: oklch(47.6% 0.177 325.4);
Tailwind
colors: {
  custom: {
    50: '#b06db2',
    500: '#8b2b91',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b91;
$custom-light: #b06db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b91",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 296.471,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.17729,
    "h": 325.4
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#8B2B91
secondary
#65B860
accent
#DE4A53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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