#8B2A9B#8B2A9B

#8B2A9B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.187 H 321.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8B2A9B
RGBrgb(139, 42, 155)
HSLhsl(292, 57%, 39%)
HSVhsv(292, 73%, 61%)
CMYKcmyk(10.3%, 72.9%, 0%, 39.2%)
CIE-LABlab(36.95, 55.61, -41.57)
CIE-LCHlch(36.95, 69.43, 323.22°)
OKLaboklab(48.08% 0.1467 -0.1162)
OKLCHoklch(48.08% 0.187 321.6)
XYZxyz(17.3912, 9.5124, 31.9240)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A9B #3A9B2A
analogous
#522A9B #8B2A9B #9B2A72
triadic
#8B2A9B #9B8B2A #2A9B8B
tetradic
#8B2A9B #9B522A #3A9B2A #2A729B
square
#8B2A9B #9B522A #3A9B2A #2A729B
split-complementary
#8B2A9B #729B2A #2A9B52
monochromatic
#35103B #601D6B #8B2A9B #B539C9 #C769D6

Accessibility & contrast

On white

7.24
#8B2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A9B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A9B#FFFFFF#000000##FFFFFF
##8B2A9B1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8C3F60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2a9b;
/* rgb */ color: rgb(139, 42, 155);
/* oklch */ color: oklch(48.1% 0.187 321.6);
Tailwind
colors: {
  custom: {
    50: '#b06db9',
    500: '#8b2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a9b;
$custom-light: #b06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a9b",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 291.504,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.18714,
    "h": 321.6
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#8B2A9B
secondary
#71BD64
accent
#E1475D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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