#8B2A99#8B2A99

#8B2A99 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.185 H 322.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8B2A99
RGBrgb(139, 42, 153)
HSLhsl(292, 57%, 38%)
HSVhsv(292, 73%, 60%)
CMYKcmyk(9.2%, 72.5%, 0%, 40%)
CIE-LABlab(36.83, 55.24, -40.55)
CIE-LCHlch(36.83, 68.53, 323.71°)
OKLaboklab(47.96% 0.1468 -0.1133)
OKLCHoklch(47.96% 0.185 322.3)
XYZxyz(17.2246, 9.4458, 31.0468)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A99 #38992A
analogous
#532A99 #8B2A99 #992A6F
triadic
#8B2A99 #998B2A #2A998B
tetradic
#8B2A99 #99532A #38992A #2A6F99
square
#8B2A99 #99532A #38992A #2A6F99
split-complementary
#8B2A99 #6F992A #2A9953
monochromatic
#341039 #5F1D69 #8B2A99 #B638C8 #C868D6

Accessibility & contrast

On white

7.27
#8B2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A99
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A99#FFFFFF#000000##FFFFFF
##8B2A991.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#8D3E5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2a99;
/* rgb */ color: rgb(139, 42, 153);
/* oklch */ color: oklch(48.0% 0.185 322.3);
Tailwind
colors: {
  custom: {
    50: '#b06db7',
    500: '#8b2a99',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a99;
$custom-light: #b06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a99",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 292.432,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.18541,
    "h": 322.3
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#8B2A99
secondary
#6EBC63
accent
#E0485B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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