#8B2AB2#8B2AB2

#8B2AB2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.208 H 314.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8B2AB2
RGBrgb(139, 42, 178)
HSLhsl(283, 62%, 43%)
HSVhsv(283, 76%, 70%)
CMYKcmyk(21.9%, 76.4%, 0%, 30.2%)
CIE-LABlab(38.48, 60.11, -52.90)
CIE-LCHlch(38.48, 80.07, 318.65°)
OKLaboklab(49.66% 0.1441 -0.1494)
OKLCHoklch(49.66% 0.208 314)
XYZxyz(19.5099, 10.3599, 43.0828)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AB2 #51B22A
analogous
#472AB2 #8B2AB2 #B22A95
triadic
#8B2AB2 #B28B2A #2AB28B
tetradic
#8B2AB2 #B2472A #51B22A #2A95B2
square
#8B2AB2 #B2472A #51B22A #2A95B2
split-complementary
#8B2AB2 #95B22A #2AB247
monochromatic
#3E134F #641E80 #8B2AB2 #AB46D3 #C177DF

Accessibility & contrast

On white

6.84
#8B2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8B2AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AB2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AB2#FFFFFF#000000##FFFFFF
##8B2AB21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#87496D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2ab2;
/* rgb */ color: rgb(139, 42, 178);
/* oklch */ color: oklch(49.7% 0.208 314.0);
Tailwind
colors: {
  custom: {
    50: '#b16eca',
    500: '#8b2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ab2;
$custom-light: #b16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ab2",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 282.794,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.20758,
    "h": 314
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#8B2AB2
secondary
#8AC771
accent
#E54371
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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