#8B2BA9#8B2BA9

#8B2BA9 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 316.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2BA9
RGBrgb(139, 43, 169)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 75%, 66%)
CMYKcmyk(17.8%, 74.6%, 0%, 33.7%)
CIE-LABlab(37.99, 57.95, -48.33)
CIE-LCHlch(37.99, 75.46, 320.17°)
OKLaboklab(49.11% 0.1444 -0.136)
OKLCHoklch(49.11% 0.198 316.7)
XYZxyz(18.6717, 10.0821, 38.4909)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA9 #49A92B
analogous
#4C2BA9 #8B2BA9 #A92B88
triadic
#8B2BA9 #A98B2B #2BA98B
tetradic
#8B2BA9 #A94C2B #49A92B #2B88A9
square
#8B2BA9 #A94C2B #49A92B #2B88A9
split-complementary
#8B2BA9 #88A92B #2BA94C
monochromatic
#3B1247 #631F78 #8B2BA9 #AD42CF #C373DB

Accessibility & contrast

On white

6.96
#8B2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BA9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BA9#FFFFFF#000000##FFFFFF
##8B2BA91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#894668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ba9;
/* rgb */ color: rgb(139, 43, 169);
/* oklch */ color: oklch(49.1% 0.198 316.7);
Tailwind
colors: {
  custom: {
    50: '#b16ec3',
    500: '#8b2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba9;
$custom-light: #b16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba9",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 285.714,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.19841,
    "h": 316.7
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#8B2BA9
secondary
#81C36D
accent
#E3456B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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