#8B2BBA#8B2BBA

#8B2BBA is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.214 H 311.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8B2BBA
RGBrgb(139, 43, 186)
HSLhsl(280, 62%, 45%)
HSVhsv(280, 77%, 73%)
CMYKcmyk(25.3%, 76.9%, 0%, 27.1%)
CIE-LABlab(39.18, 61.40, -56.50)
CIE-LCHlch(39.18, 83.44, 317.38°)
OKLaboklab(50.33% 0.1418 -0.16)
OKLCHoklch(50.33% 0.214 311.5)
XYZxyz(20.3726, 10.7624, 47.4490)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BBA #5ABA2B
analogous
#442BBA #8B2BBA #BA2BA1
triadic
#8B2BBA #BA8B2B #2BBA8B
tetradic
#8B2BBA #BA442B #5ABA2B #2BA1BA
square
#8B2BBA #BA442B #5ABA2B #2BA1BA
split-complementary
#8B2BBA #A1BA2B #2BBA44
monochromatic
#411457 #662088 #8B2BBA #A94CD6 #C17EE1

Accessibility & contrast

On white

6.66
#8B2BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8B2BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BBA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BBA#FFFFFF#000000##FFFFFF
##8B2BBA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#854D72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2bba;
/* rgb */ color: rgb(139, 43, 186);
/* oklch */ color: oklch(50.3% 0.214 311.5);
Tailwind
colors: {
  custom: {
    50: '#b26fd0',
    500: '#8b2bba',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bba;
$custom-light: #b26fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bba",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 280.28,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.21379,
    "h": 311.5
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#8B2BBA
secondary
#92CA77
accent
#E64278
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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