#8B2D9D#8B2D9D

#8B2D9D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.185 H 320.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8B2D9D
RGBrgb(139, 45, 157)
HSLhsl(290, 55%, 40%)
HSVhsv(290, 71%, 62%)
CMYKcmyk(11.5%, 71.3%, 0%, 38.4%)
CIE-LABlab(37.48, 54.84, -41.93)
CIE-LCHlch(37.48, 69.03, 322.60°)
OKLaboklab(48.5% 0.1435 -0.1173)
OKLCHoklch(48.5% 0.185 320.7)
XYZxyz(17.6709, 9.8010, 32.8527)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D9D #3F9D2D
analogous
#532D9D #8B2D9D #9D2D77
triadic
#8B2D9D #9D8B2D #2D9D8B
tetradic
#8B2D9D #9D532D #3F9D2D #2D779D
square
#8B2D9D #9D532D #3F9D2D #2D779D
split-complementary
#8B2D9D #779D2D #2D9D53
monochromatic
#37123E #611F6D #8B2D9D #B23FC8 #C56FD6

Accessibility & contrast

On white

7.09
#8B2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2D9D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D9D#FFFFFF#000000##FFFFFF
##8B2D9D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#8C4262
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2d9d;
/* rgb */ color: rgb(139, 45, 157);
/* oklch */ color: oklch(48.5% 0.185 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06fba',
    500: '#8b2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d9d;
$custom-light: #b06fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d9d",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 290.357,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.18533,
    "h": 320.7
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#8B2D9D
secondary
#76BD69
accent
#DF4961
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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