#8B2D9C#8B2D9C

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

Color values

HEX#8B2D9C
RGBrgb(139, 45, 156)
HSLhsl(291, 55%, 39%)
HSVhsv(291, 71%, 61%)
CMYKcmyk(10.9%, 71.2%, 0%, 38.8%)
CIE-LABlab(37.42, 54.65, -41.43)
CIE-LCHlch(37.42, 68.58, 322.84°)
OKLaboklab(48.44% 0.1435 -0.1158)
OKLCHoklch(48.44% 0.184 321.1)
XYZxyz(17.5859, 9.7670, 32.4049)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2D9C #3E9C2D
analogous
#542D9C #8B2D9C #9C2D76
triadic
#8B2D9C #9C8B2D #2D9C8B
tetradic
#8B2D9C #9C542D #3E9C2D #2D769C
square
#8B2D9C #9C542D #3E9C2D #2D769C
split-complementary
#8B2D9C #769C2D #2D9C54
monochromatic
#36123D #611F6D #8B2D9C #B33FC8 #C56ED5

Accessibility & contrast

On white

7.11
#8B2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2D9C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2D9C#FFFFFF#000000##FFFFFF
##8B2D9C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2d9c;
/* rgb */ color: rgb(139, 45, 156);
/* oklch */ color: oklch(48.4% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#b06fba',
    500: '#8b2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #8b2d9c;
$custom-light: #b06fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2d9c",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 290.811,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.18444,
    "h": 321.1
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#8B2D9C
secondary
#75BC68
accent
#DF4960
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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