#8B2C97#8B2C97

#8B2C97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.181 H 323.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8B2C97
RGBrgb(139, 44, 151)
HSLhsl(293, 55%, 38%)
HSVhsv(293, 71%, 59%)
CMYKcmyk(7.9%, 70.9%, 0%, 40.8%)
CIE-LABlab(36.98, 54.10, -39.10)
CIE-LCHlch(36.98, 66.75, 324.14°)
OKLaboklab(48.02% 0.1448 -0.109)
OKLCHoklch(48.02% 0.181 323)
XYZxyz(17.1335, 9.5257, 30.2083)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C97 #38972C
analogous
#552C97 #8B2C97 #972C6D
triadic
#8B2C97 #978B2C #2C978B
tetradic
#8B2C97 #97552C #38972C #2C6D97
square
#8B2C97 #97552C #38972C #2C6D97
split-complementary
#8B2C97 #6D972C #2C9755
monochromatic
#341038 #5F1E68 #8B2C97 #B63AC6 #C86AD4

Accessibility & contrast

On white

7.23
#8B2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C97
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C97#FFFFFF#000000##FFFFFF
##8B2C971.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2c97;
/* rgb */ color: rgb(139, 44, 151);
/* oklch */ color: oklch(48.0% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#b06eb6',
    500: '#8b2c97',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c97;
$custom-light: #b06eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c97",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 293.271,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.18124,
    "h": 323
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#8B2C97
secondary
#6EBA65
accent
#DE4A5A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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