#8B2097#8B2097

#8B2097 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.194 H 323.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8B2097
RGBrgb(139, 32, 151)
HSLhsl(294, 65%, 36%)
HSVhsv(294, 79%, 59%)
CMYKcmyk(7.9%, 78.8%, 0%, 40.8%)
CIE-LABlab(35.51, 58.28, -41.44)
CIE-LCHlch(35.51, 71.52, 324.59°)
OKLaboklab(46.98% 0.1562 -0.1158)
OKLCHoklch(46.98% 0.194 323.5)
XYZxyz(16.7494, 8.7574, 30.0803)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2097 #2C9720
analogous
#502097 #8B2097 #972067
triadic
#8B2097 #978B20 #20978B
tetradic
#8B2097 #975020 #2C9720 #206797
square
#8B2097 #975020 #2C9720 #206797
split-complementary
#8B2097 #679720 #209750
monochromatic
#2E0B32 #5D1564 #8B2097 #B92BC9 #CE56DB

Accessibility & contrast

On white

7.63
#8B2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2097
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2097#FFFFFF#000000##FFFFFF
##8B20971.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#8D385B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2097;
/* rgb */ color: rgb(139, 32, 151);
/* oklch */ color: oklch(47.0% 0.194 323.5);
Tailwind
colors: {
  custom: {
    50: '#b169b6',
    500: '#8b2097',
    950: '#000000',
  },
}
SCSS
$custom: #8b2097;
$custom-light: #b169b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2097",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 293.95,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.19442,
    "h": 323.5
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#8B2097
secondary
#5FBF54
accent
#E84051
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2097

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

Preview Lab → · Contrast checker → · Palette generator →

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