#8B2A84#8B2A84

#8B2A84 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.168 H 331.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2A84
RGBrgb(139, 42, 132)
HSLhsl(304, 54%, 35%)
HSVhsv(304, 70%, 55%)
CMYKcmyk(0%, 69.8%, 5%, 45.5%)
CIE-LABlab(35.62, 51.49, -29.60)
CIE-LCHlch(35.62, 59.39, 330.11°)
OKLaboklab(46.7% 0.1466 -0.0814)
OKLCHoklch(46.7% 0.168 331)
XYZxyz(15.6402, 8.8120, 22.7025)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A84 #2A8B31
analogous
#612A8B #8B2A84 #8B2A53
triadic
#8B2A84 #848B2A #2A848B
tetradic
#8B2A84 #8B612A #2A8B31 #2A538B
square
#8B2A84 #8B612A #2A8B31 #2A538B
split-complementary
#8B2A84 #538B2A #2A8B61
monochromatic
#2D0E2B #5C1C57 #8B2A84 #BA38B1 #CF60C7

Accessibility & contrast

On white

7.60
#8B2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A84
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A84#FFFFFF#000000##FFFFFF
##8B2A841.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#913553
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2a84;
/* rgb */ color: rgb(139, 42, 132);
/* oklch */ color: oklch(46.7% 0.168 331.0);
Tailwind
colors: {
  custom: {
    50: '#b06ca8',
    500: '#8b2a84',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a84;
$custom-light: #b06ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a84",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 304.33,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.16771,
    "h": 331
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#8B2A84
secondary
#5CB562
accent
#DD554B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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