#8B2BAC#8B2BAC

#8B2BAC is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.201 H 315.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2BAC
RGBrgb(139, 43, 172)
HSLhsl(285, 60%, 42%)
HSVhsv(285, 75%, 67%)
CMYKcmyk(19.2%, 75%, 0%, 32.5%)
CIE-LABlab(38.19, 58.54, -49.79)
CIE-LCHlch(38.19, 76.86, 319.62°)
OKLaboklab(49.32% 0.1441 -0.1403)
OKLCHoklch(49.32% 0.201 315.8)
XYZxyz(18.9566, 10.1960, 39.9912)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BAC #4CAC2B
analogous
#4A2BAC #8B2BAC #AC2B8D
triadic
#8B2BAC #AC8B2B #2BAC8B
tetradic
#8B2BAC #AC4A2B #4CAC2B #2B8DAC
square
#8B2BAC #AC4A2B #4CAC2B #2B8DAC
split-complementary
#8B2BAC #8DAC2B #2BAC4A
monochromatic
#3C134A #631F7B #8B2BAC #AC44D0 #C275DC

Accessibility & contrast

On white

6.91
#8B2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B2BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BAC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BAC#FFFFFF#000000##FFFFFF
##8B2BAC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#89476A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2bac;
/* rgb */ color: rgb(139, 43, 172);
/* oklch */ color: oklch(49.3% 0.201 315.8);
Tailwind
colors: {
  custom: {
    50: '#b16ec5',
    500: '#8b2bac',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bac;
$custom-light: #b16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bac",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 284.651,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.20111,
    "h": 315.8
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#8B2BAC
secondary
#85C46F
accent
#E3456D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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