#8B2BA5#8B2BA5

#8B2BA5 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 318.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B2BA5
RGBrgb(139, 43, 165)
HSLhsl(287, 59%, 41%)
HSVhsv(287, 74%, 65%)
CMYKcmyk(15.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(37.72, 57.16, -46.36)
CIE-LCHlch(37.72, 73.60, 320.95°)
OKLaboklab(48.84% 0.1449 -0.1303)
OKLCHoklch(48.84% 0.195 318)
XYZxyz(18.3019, 9.9342, 36.5435)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA5 #45A52B
analogous
#4E2BA5 #8B2BA5 #A52B82
triadic
#8B2BA5 #A58B2B #2BA58B
tetradic
#8B2BA5 #A54E2B #45A52B #2B82A5
square
#8B2BA5 #A54E2B #45A52B #2B82A5
split-complementary
#8B2BA5 #82A52B #2BA54E
monochromatic
#391244 #621E74 #8B2BA5 #AF40CD #C371DA

Accessibility & contrast

On white

7.03
#8B2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2BA5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BA5#FFFFFF#000000##FFFFFF
##8B2BA51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#8A4466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ba5;
/* rgb */ color: rgb(139, 43, 165);
/* oklch */ color: oklch(48.8% 0.195 318.0);
Tailwind
colors: {
  custom: {
    50: '#b16ec0',
    500: '#8b2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba5;
$custom-light: #b16ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba5",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 287.213,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.19483,
    "h": 318
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#8B2BA5
secondary
#7DC16B
accent
#E24667
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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