#8B2BB4#8B2BB4

#8B2BB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.208 H 313.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8B2BB4
RGBrgb(139, 43, 180)
HSLhsl(282, 61%, 44%)
HSVhsv(282, 76%, 71%)
CMYKcmyk(22.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(38.75, 60.16, -53.65)
CIE-LCHlch(38.75, 80.61, 318.27°)
OKLaboklab(49.89% 0.1429 -0.1516)
OKLCHoklch(49.89% 0.208 313.3)
XYZxyz(19.7481, 10.5126, 44.1600)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BB4 #54B42B
analogous
#462BB4 #8B2BB4 #B42B98
triadic
#8B2BB4 #B48B2B #2BB48B
tetradic
#8B2BB4 #B4462B #54B42B #2B98B4
square
#8B2BB4 #B4462B #54B42B #2B98B4
split-complementary
#8B2BB4 #98B42B #2BB446
monochromatic
#3F1351 #651F83 #8B2BB4 #AA49D3 #C17ADF

Accessibility & contrast

On white

6.77
#8B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8B2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BB4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BB4#FFFFFF#000000##FFFFFF
##8B2BB41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#1C5DB1
Tritanopia (blue-blind)
#874B6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2bb4;
/* rgb */ color: rgb(139, 43, 180);
/* oklch */ color: oklch(49.9% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#b16fcb',
    500: '#8b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bb4;
$custom-light: #b16fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bb4",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 282.044,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.20834,
    "h": 313.3
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#8B2BB4
secondary
#8DC773
accent
#E54374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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