#8B2E97#8B2E97

#8B2E97 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.179 H 322.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8B2E97
RGBrgb(139, 46, 151)
HSLhsl(293, 53%, 39%)
HSVhsv(293, 70%, 59%)
CMYKcmyk(7.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(37.26, 53.30, -38.65)
CIE-LCHlch(37.26, 65.84, 324.05°)
OKLaboklab(48.22% 0.1426 -0.1077)
OKLCHoklch(48.22% 0.179 322.9)
XYZxyz(17.2098, 9.6783, 30.2338)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E97 #3A972E
analogous
#562E97 #8B2E97 #972E6E
triadic
#8B2E97 #978B2E #2E978B
tetradic
#8B2E97 #97562E #3A972E #2E6E97
square
#8B2E97 #97562E #3A972E #2E6E97
split-complementary
#8B2E97 #6E972E #2E9756
monochromatic
#351139 #602068 #8B2E97 #B53EC4 #C76DD2

Accessibility & contrast

On white

7.15
#8B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8B2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E97
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E97#FFFFFF#000000##FFFFFF
##8B2E971.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#8D405F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2e97;
/* rgb */ color: rgb(139, 46, 151);
/* oklch */ color: oklch(48.2% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#b06fb6',
    500: '#8b2e97',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e97;
$custom-light: #b06fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e97",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 293.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.17873,
    "h": 322.9
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#8B2E97
secondary
#71BA67
accent
#DD4B5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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