#8B2AB3#8B2AB3

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

Color values

HEX#8B2AB3
RGBrgb(139, 42, 179)
HSLhsl(282, 62%, 43%)
HSVhsv(282, 77%, 70%)
CMYKcmyk(22.3%, 76.5%, 0%, 29.8%)
CIE-LABlab(38.55, 60.32, -53.38)
CIE-LCHlch(38.55, 80.54, 318.49°)
OKLaboklab(49.73% 0.1439 -0.1508)
OKLCHoklch(49.73% 0.208 313.7)
XYZxyz(19.6107, 10.4002, 43.6135)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2AB3 #52B32A
analogous
#462AB3 #8B2AB3 #B32A96
triadic
#8B2AB3 #B38B2A #2AB38B
tetradic
#8B2AB3 #B3462A #52B32A #2A96B3
square
#8B2AB3 #B3462A #52B32A #2A96B3
split-complementary
#8B2AB3 #96B32A #2AB346
monochromatic
#3E1350 #651E81 #8B2AB3 #AA46D4 #C178DF

Accessibility & contrast

On white

6.82
#8B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8B2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2AB3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2AB3#FFFFFF#000000##FFFFFF
##8B2AB31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#874A6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2ab3;
/* rgb */ color: rgb(139, 42, 179);
/* oklch */ color: oklch(49.7% 0.208 313.7);
Tailwind
colors: {
  custom: {
    50: '#b16eca',
    500: '#8b2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ab3;
$custom-light: #b16eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ab3",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 282.482,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.20847,
    "h": 313.7
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#8B2AB3
secondary
#8BC772
accent
#E54372
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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