#8B2A82#8B2A82

#8B2A82 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 331.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8B2A82
RGBrgb(139, 42, 130)
HSLhsl(306, 54%, 35%)
HSVhsv(306, 70%, 55%)
CMYKcmyk(0%, 69.8%, 6.5%, 45.5%)
CIE-LABlab(35.51, 51.16, -28.52)
CIE-LCHlch(35.51, 58.57, 330.86°)
OKLaboklab(46.59% 0.1465 -0.0783)
OKLCHoklch(46.59% 0.166 331.9)
XYZxyz(15.5047, 8.7578, 21.9886)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A82 #2A8B33
analogous
#632A8B #8B2A82 #8B2A51
triadic
#8B2A82 #828B2A #2A828B
tetradic
#8B2A82 #8B632A #2A8B33 #2A518B
square
#8B2A82 #8B632A #2A8B33 #2A518B
split-complementary
#8B2A82 #518B2A #2A8B63
monochromatic
#2D0E2A #5C1C56 #8B2A82 #BA38AE #CF60C5

Accessibility & contrast

On white

7.63
#8B2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A82
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A82#FFFFFF#000000##FFFFFF
##8B2A821.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#475880
Tritanopia (blue-blind)
#913452
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2a82;
/* rgb */ color: rgb(139, 42, 130);
/* oklch */ color: oklch(46.6% 0.166 331.9);
Tailwind
colors: {
  custom: {
    50: '#b06ca6',
    500: '#8b2a82',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a82;
$custom-light: #b06ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a82",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 305.567,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.1661,
    "h": 331.9
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#8B2A82
secondary
#5CB564
accent
#DD584B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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