#8B2BB6#8B2BB6

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

Color values

HEX#8B2BB6
RGBrgb(139, 43, 182)
HSLhsl(281, 62%, 44%)
HSVhsv(281, 76%, 71%)
CMYKcmyk(23.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(38.89, 60.57, -54.60)
CIE-LCHlch(38.89, 81.55, 317.97°)
OKLaboklab(50.03% 0.1425 -0.1544)
OKLCHoklch(50.03% 0.21 312.7)
XYZxyz(19.9533, 10.5947, 45.2408)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB6 #56B62B
analogous
#462BB6 #8B2BB6 #B62B9C
triadic
#8B2BB6 #B68B2B #2BB68B
tetradic
#8B2BB6 #B6462B #56B62B #2B9CB6
square
#8B2BB6 #B6462B #56B62B #2B9CB6
split-complementary
#8B2BB6 #9CB62B #2BB646
monochromatic
#3F1453 #651F84 #8B2BB6 #A94AD4 #C17BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2BB6#FFFFFF#000000##FFFFFF
##8B2BB61.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)
#0057BA
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#864B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2bb6;
/* rgb */ color: rgb(139, 43, 182);
/* oklch */ color: oklch(50.0% 0.210 312.7);
Tailwind
colors: {
  custom: {
    50: '#b16fcd',
    500: '#8b2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb6;
$custom-light: #b16fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb6",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 281.439,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.21016,
    "h": 312.7
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#8B2BB6
secondary
#8EC875
accent
#E54375
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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