#8B2BB9#8B2BB9

#8B2BB9 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.213 H 311.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8B2BB9
RGBrgb(139, 43, 185)
HSLhsl(281, 62%, 45%)
HSVhsv(281, 77%, 73%)
CMYKcmyk(24.9%, 76.8%, 0%, 27.5%)
CIE-LABlab(39.10, 61.19, -56.02)
CIE-LCHlch(39.10, 82.96, 317.52°)
OKLaboklab(50.25% 0.142 -0.1586)
OKLCHoklch(50.25% 0.213 311.8)
XYZxyz(20.2667, 10.7201, 46.8911)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB9 #59B92B
analogous
#442BB9 #8B2BB9 #B92BA0
triadic
#8B2BB9 #B98B2B #2BB98B
tetradic
#8B2BB9 #B9442B #59B92B #2BA0B9
square
#8B2BB9 #B9442B #59B92B #2BA0B9
split-complementary
#8B2BB9 #A0B92B #2BB944
monochromatic
#401456 #661F87 #8B2BB9 #A94CD5 #C17EE1

Accessibility & contrast

On white

6.68
#8B2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8B2BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BB9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BB9#FFFFFF#000000##FFFFFF
##8B2BB91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#105EB6
Tritanopia (blue-blind)
#854D71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2bb9;
/* rgb */ color: rgb(139, 43, 185);
/* oklch */ color: oklch(50.3% 0.213 311.8);
Tailwind
colors: {
  custom: {
    50: '#b26fcf',
    500: '#8b2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb9;
$custom-light: #b26fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb9",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 280.563,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.21288,
    "h": 311.8
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#8B2BB9
secondary
#91C976
accent
#E54277
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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