#8B2BA3#8B2BA3

#8B2BA3 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 318.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B2BA3
RGBrgb(139, 43, 163)
HSLhsl(288, 58%, 40%)
HSVhsv(288, 74%, 64%)
CMYKcmyk(14.7%, 73.6%, 0%, 36.1%)
CIE-LABlab(37.59, 56.77, -45.37)
CIE-LCHlch(37.59, 72.67, 321.37°)
OKLaboklab(48.7% 0.1451 -0.1273)
OKLCHoklch(48.7% 0.193 318.7)
XYZxyz(18.1213, 9.8619, 35.5922)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA3 #43A32B
analogous
#4F2BA3 #8B2BA3 #A32B7F
triadic
#8B2BA3 #A38B2B #2BA38B
tetradic
#8B2BA3 #A34F2B #43A32B #2B7FA3
square
#8B2BA3 #A34F2B #43A32B #2B7FA3
split-complementary
#8B2BA3 #7FA32B #2BA34F
monochromatic
#381142 #621E73 #8B2BA3 #B03FCC #C46FD9

Accessibility & contrast

On white

7.07
#8B2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2BA3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BA3#FFFFFF#000000##FFFFFF
##8B2BA31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#325CA0
Tritanopia (blue-blind)
#8B4365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2ba3;
/* rgb */ color: rgb(139, 43, 163);
/* oklch */ color: oklch(48.7% 0.193 318.7);
Tailwind
colors: {
  custom: {
    50: '#b16ebf',
    500: '#8b2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba3;
$custom-light: #b16ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba3",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 288,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.19304,
    "h": 318.7
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#8B2BA3
secondary
#7BC06A
accent
#E14665
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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