#8B2A8D#8B2A8D

#8B2A8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.175 H 327.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8B2A8D
RGBrgb(139, 42, 141)
HSLhsl(299, 54%, 36%)
HSVhsv(299, 70%, 55%)
CMYKcmyk(1.4%, 70.2%, 0%, 44.7%)
CIE-LABlab(36.12, 53.05, -34.36)
CIE-LCHlch(36.12, 63.21, 327.07°)
OKLaboklab(47.22% 0.147 -0.0952)
OKLCHoklch(47.22% 0.175 327.1)
XYZxyz(16.2829, 9.0691, 26.0870)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A8D #2C8D2A
analogous
#592A8D #8B2A8D #8D2A5D
triadic
#8B2A8D #8D8B2A #2A8D8B
tetradic
#8B2A8D #8D592A #2C8D2A #2A5D8D
square
#8B2A8D #8D592A #2C8D2A #2A5D8D
split-complementary
#8B2A8D #5D8D2A #2A8D59
monochromatic
#2E0E2F #5D1C5E #8B2A8D #B938BC #CE61D0

Accessibility & contrast

On white

7.46
#8B2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A8D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A8D#FFFFFF#000000##FFFFFF
##8B2A8D1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#8F3958
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2a8d;
/* rgb */ color: rgb(139, 42, 141);
/* oklch */ color: oklch(47.2% 0.175 327.1);
Tailwind
colors: {
  custom: {
    50: '#b06daf',
    500: '#8b2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a8d;
$custom-light: #b06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a8d",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 298.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.17514,
    "h": 327.1
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#8B2A8D
secondary
#5FB65D
accent
#DD4A4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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