#8B2AB8#8B2AB8

#8B2AB8 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.213 H 312.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8B2AB8
RGBrgb(139, 42, 184)
HSLhsl(281, 63%, 44%)
HSVhsv(281, 77%, 72%)
CMYKcmyk(24.5%, 77.2%, 0%, 27.8%)
CIE-LABlab(38.91, 61.34, -55.75)
CIE-LCHlch(38.91, 82.89, 317.73°)
OKLaboklab(50.09% 0.143 -0.1578)
OKLCHoklch(50.09% 0.213 312.2)
XYZxyz(20.1256, 10.6062, 46.3251)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AB8 #57B82A
analogous
#442AB8 #8B2AB8 #B82A9E
triadic
#8B2AB8 #B88B2A #2AB88B
tetradic
#8B2AB8 #B8442A #57B82A #2A9EB8
square
#8B2AB8 #B8442A #57B82A #2A9EB8
split-complementary
#8B2AB8 #9EB82A #2AB844
monochromatic
#401354 #651F86 #8B2AB8 #A94AD6 #C17BE1

Accessibility & contrast

On white

6.73
#8B2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B2AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AB8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AB8#FFFFFF#000000##FFFFFF
##8B2AB81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#115DB5
Tritanopia (blue-blind)
#864C70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2ab8;
/* rgb */ color: rgb(139, 42, 184);
/* oklch */ color: oklch(50.1% 0.213 312.2);
Tailwind
colors: {
  custom: {
    50: '#b26fce',
    500: '#8b2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ab8;
$custom-light: #b26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ab8",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 280.986,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.21299,
    "h": 312.2
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#8B2AB8
secondary
#8FC975
accent
#E64276
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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