#8B2997#8B2997

#8B2997 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 323.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8B2997
RGBrgb(139, 41, 151)
HSLhsl(293, 57%, 38%)
HSVhsv(293, 73%, 59%)
CMYKcmyk(7.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(36.57, 55.24, -39.74)
CIE-LCHlch(36.57, 68.05, 324.27°)
OKLaboklab(47.74% 0.1479 -0.1109)
OKLCHoklch(47.74% 0.185 323.1)
XYZxyz(17.0258, 9.3102, 30.1724)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2997 #359729
analogous
#542997 #8B2997 #97296C
triadic
#8B2997 #978B29 #29978B
tetradic
#8B2997 #975429 #359729 #296C97
square
#8B2997 #975429 #359729 #296C97
split-complementary
#8B2997 #6C9729 #299754
monochromatic
#320F37 #5F1C67 #8B2997 #B736C7 #C965D5

Accessibility & contrast

On white

7.34
#8B2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2997
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2997#FFFFFF#000000##FFFFFF
##8B29971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#8D3D5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2997;
/* rgb */ color: rgb(139, 41, 151);
/* oklch */ color: oklch(47.7% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#b06db6',
    500: '#8b2997',
    950: '#000000',
  },
}
SCSS
$custom: #8b2997;
$custom-light: #b06db6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2997",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 293.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.18485,
    "h": 323.1
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#8B2997
secondary
#6ABB61
accent
#E14758
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2997

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

Preview Lab → · Contrast checker → · Palette generator →

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