#8B2A89#8B2A89

#8B2A89 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.172 H 328.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8B2A89
RGBrgb(139, 42, 137)
HSLhsl(301, 54%, 35%)
HSVhsv(301, 70%, 55%)
CMYKcmyk(0%, 69.8%, 1.4%, 45.5%)
CIE-LABlab(35.89, 52.35, -32.26)
CIE-LCHlch(35.89, 61.49, 328.36°)
OKLaboklab(46.98% 0.1469 -0.0891)
OKLCHoklch(46.98% 0.172 328.8)
XYZxyz(15.9906, 8.9522, 24.5478)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A89 #2A8B2C
analogous
#5C2A8B #8B2A89 #8B2A58
triadic
#8B2A89 #898B2A #2A898B
tetradic
#8B2A89 #8B5C2A #2A8B2C #2A588B
square
#8B2A89 #8B5C2A #2A8B2C #2A588B
split-complementary
#8B2A89 #588B2A #2A8B5C
monochromatic
#2D0E2C #5C1C5B #8B2A89 #BA38B7 #CF60CD

Accessibility & contrast

On white

7.53
#8B2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A89
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A89#FFFFFF#000000##FFFFFF
##8B2A891.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#903756
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2a89;
/* rgb */ color: rgb(139, 42, 137);
/* oklch */ color: oklch(47.0% 0.172 328.8);
Tailwind
colors: {
  custom: {
    50: '#b06dac',
    500: '#8b2a89',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a89;
$custom-light: #b06dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a89",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 301.237,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.1718,
    "h": 328.8
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#8B2A89
secondary
#5CB55E
accent
#DD4E4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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