#8B2BAD#8B2BAD

#8B2BAD is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.202 H 315.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2BAD
RGBrgb(139, 43, 173)
HSLhsl(284, 60%, 42%)
HSVhsv(284, 75%, 68%)
CMYKcmyk(19.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(38.26, 58.74, -50.28)
CIE-LCHlch(38.26, 77.32, 319.44°)
OKLaboklab(49.39% 0.1439 -0.1417)
OKLCHoklch(49.39% 0.202 315.4)
XYZxyz(19.0529, 10.2346, 40.4989)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BAD #4DAD2B
analogous
#4A2BAD #8B2BAD #AD2B8E
triadic
#8B2BAD #AD8B2B #2BAD8B
tetradic
#8B2BAD #AD4A2B #4DAD2B #2B8EAD
square
#8B2BAD #AD4A2B #4DAD2B #2B8EAD
split-complementary
#8B2BAD #8EAD2B #2BAD4A
monochromatic
#3C134B #641F7C #8B2BAD #AC45D1 #C276DD

Accessibility & contrast

On white

6.89
#8B2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BAD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BAD#FFFFFF#000000##FFFFFF
##8B2BAD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#275DAA
Tritanopia (blue-blind)
#88486A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2bad;
/* rgb */ color: rgb(139, 43, 173);
/* oklch */ color: oklch(49.4% 0.202 315.4);
Tailwind
colors: {
  custom: {
    50: '#b16fc6',
    500: '#8b2bad',
    950: '#000000',
  },
}
SCSS
$custom: #8b2bad;
$custom-light: #b16fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2bad",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 284.308,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.20201,
    "h": 315.4
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#8B2BAD
secondary
#86C46F
accent
#E3446E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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