#8B2BAB#8B2BAB

#8B2BAB is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.2% C 0.200 H 316.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2BAB
RGBrgb(139, 43, 171)
HSLhsl(285, 60%, 42%)
HSVhsv(285, 75%, 67%)
CMYKcmyk(18.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(38.12, 58.35, -49.31)
CIE-LCHlch(38.12, 76.39, 319.80°)
OKLaboklab(49.25% 0.1442 -0.1389)
OKLCHoklch(49.25% 0.2 316.1)
XYZxyz(18.8609, 10.1577, 39.4873)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BAB #4BAB2B
analogous
#4B2BAB #8B2BAB #AB2B8B
triadic
#8B2BAB #AB8B2B #2BAB8B
tetradic
#8B2BAB #AB4B2B #4BAB2B #2B8BAB
square
#8B2BAB #AB4B2B #4BAB2B #2B8BAB
split-complementary
#8B2BAB #8BAB2B #2BAB4B
monochromatic
#3B1249 #631F7A #8B2BAB #AD43D0 #C274DC

Accessibility & contrast

On white

6.93
#8B2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BAB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BAB#FFFFFF#000000##FFFFFF
##8B2BAB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2bab;
/* rgb */ color: rgb(139, 43, 171);
/* oklch */ color: oklch(49.2% 0.200 316.1);
Tailwind
colors: {
  custom: {
    50: '#b16ec5',
    500: '#8b2bab',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bab;
$custom-light: #b16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bab",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 285,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.20021,
    "h": 316.1
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#8B2BAB
secondary
#84C46E
accent
#E3456C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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