#8B2D9B#8B2D9B

#8B2D9B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.184 H 321.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8B2D9B
RGBrgb(139, 45, 155)
HSLhsl(291, 55%, 39%)
HSVhsv(291, 71%, 61%)
CMYKcmyk(10.3%, 71%, 0%, 39.2%)
CIE-LABlab(37.36, 54.46, -40.92)
CIE-LCHlch(37.36, 68.12, 323.08°)
OKLaboklab(48.37% 0.1436 -0.1143)
OKLCHoklch(48.37% 0.184 321.5)
XYZxyz(17.5016, 9.7332, 31.9608)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D9B #3D9B2D
analogous
#542D9B #8B2D9B #9B2D74
triadic
#8B2D9B #9B8B2D #2D9B8B
tetradic
#8B2D9B #9B542D #3D9B2D #2D749B
square
#8B2D9B #9B542D #3D9B2D #2D749B
split-complementary
#8B2D9B #749B2D #2D9B54
monochromatic
#36113C #601F6C #8B2D9B #B33EC7 #C66ED5

Accessibility & contrast

On white

7.13
#8B2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8B2D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D9B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D9B#FFFFFF#000000##FFFFFF
##8B2D9B1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#8C4161
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2d9b;
/* rgb */ color: rgb(139, 45, 155);
/* oklch */ color: oklch(48.4% 0.184 321.5);
Tailwind
colors: {
  custom: {
    50: '#b06fb9',
    500: '#8b2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d9b;
$custom-light: #b06fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d9b",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 291.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.18355,
    "h": 321.5
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#8B2D9B
secondary
#74BC68
accent
#DE495F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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