#8B2D97#8B2D97

#8B2D97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.180 H 323.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8B2D97
RGBrgb(139, 45, 151)
HSLhsl(293, 54%, 38%)
HSVhsv(293, 70%, 59%)
CMYKcmyk(7.9%, 70.2%, 0%, 40.8%)
CIE-LABlab(37.12, 53.70, -38.88)
CIE-LCHlch(37.12, 66.30, 324.10°)
OKLaboklab(48.12% 0.1437 -0.1084)
OKLCHoklch(48.12% 0.18 323)
XYZxyz(17.1712, 9.6011, 30.2209)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D97 #39972D
analogous
#562D97 #8B2D97 #972D6E
triadic
#8B2D97 #978B2D #2D978B
tetradic
#8B2D97 #97562D #39972D #2D6E97
square
#8B2D97 #97562D #39972D #2D6E97
split-complementary
#8B2D97 #6E972D #2D9756
monochromatic
#341139 #601F68 #8B2D97 #B53CC5 #C76BD3

Accessibility & contrast

On white

7.19
#8B2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8B2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D97
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D97#FFFFFF#000000##FFFFFF
##8B2D971.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C509A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#8D3F5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2d97;
/* rgb */ color: rgb(139, 45, 151);
/* oklch */ color: oklch(48.1% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#b06fb6',
    500: '#8b2d97',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d97;
$custom-light: #b06fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d97",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 293.208,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.18,
    "h": 323
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#8B2D97
secondary
#6FBA66
accent
#DD4A5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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