#8B2E9B#8B2E9B

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

Color values

HEX#8B2E9B
RGBrgb(139, 46, 155)
HSLhsl(291, 54%, 39%)
HSVhsv(291, 70%, 61%)
CMYKcmyk(10.3%, 70.3%, 0%, 39.2%)
CIE-LABlab(37.50, 54.06, -40.69)
CIE-LCHlch(37.50, 67.67, 323.03°)
OKLaboklab(48.48% 0.1425 -0.1137)
OKLCHoklch(48.48% 0.182 321.4)
XYZxyz(17.5402, 9.8104, 31.9737)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E9B #3E9B2E
analogous
#552E9B #8B2E9B #9B2E75
triadic
#8B2E9B #9B8B2E #2E9B8B
tetradic
#8B2E9B #9B552E #3E9B2E #2E759B
square
#8B2E9B #9B552E #3E9B2E #2E759B
split-complementary
#8B2E9B #759B2E #2E9B55
monochromatic
#36123D #61206C #8B2E9B #B340C6 #C56FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2E9B#FFFFFF#000000##FFFFFF
##8B2E9B1.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)
#03529E
Deuteranopia (green-blind)
#3B5C98
Tritanopia (blue-blind)
#8C4161
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2e9b;
/* rgb */ color: rgb(139, 46, 155);
/* oklch */ color: oklch(48.5% 0.182 321.4);
Tailwind
colors: {
  custom: {
    50: '#b06fb9',
    500: '#8b2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e9b;
$custom-light: #b06fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e9b",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 291.193,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.18231,
    "h": 321.4
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#8B2E9B
secondary
#75BC69
accent
#DE4A60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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