#8B2B97#8B2B97

#8B2B97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.182 H 323.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8B2B97
RGBrgb(139, 43, 151)
HSLhsl(293, 56%, 38%)
HSVhsv(293, 72%, 59%)
CMYKcmyk(7.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(36.84, 54.49, -39.32)
CIE-LCHlch(36.84, 67.19, 324.18°)
OKLaboklab(47.93% 0.1458 -0.1097)
OKLCHoklch(47.93% 0.182 323.1)
XYZxyz(17.0967, 9.4521, 30.1961)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B97 #37972B
analogous
#552B97 #8B2B97 #972B6D
triadic
#8B2B97 #978B2B #2B978B
tetradic
#8B2B97 #97552B #37972B #2B6D97
square
#8B2B97 #97552B #37972B #2B6D97
split-complementary
#8B2B97 #6D972B #2B9755
monochromatic
#331038 #5F1D67 #8B2B97 #B739C7 #C868D4

Accessibility & contrast

On white

7.27
#8B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B97
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B97#FFFFFF#000000##FFFFFF
##8B2B971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#8D3E5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2b97;
/* rgb */ color: rgb(139, 43, 151);
/* oklch */ color: oklch(47.9% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#b06eb6',
    500: '#8b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b97;
$custom-light: #b06eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b97",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 293.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.18247,
    "h": 323.1
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#8B2B97
secondary
#6DBB63
accent
#DF495A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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