#8B2499#8B2499

#8B2499 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.192 H 322.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8B2499
RGBrgb(139, 36, 153)
HSLhsl(293, 62%, 37%)
HSVhsv(293, 76%, 60%)
CMYKcmyk(9.2%, 76.5%, 0%, 40%)
CIE-LABlab(36.08, 57.37, -41.75)
CIE-LCHlch(36.08, 70.95, 323.96°)
OKLaboklab(47.42% 0.1526 -0.1167)
OKLCHoklch(47.42% 0.192 322.6)
XYZxyz(17.0275, 9.0516, 30.9811)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2499 #329924
analogous
#512499 #8B2499 #99246C
triadic
#8B2499 #998B24 #24998B
tetradic
#8B2499 #995124 #329924 #246C99
square
#8B2499 #995124 #329924 #246C99
split-complementary
#8B2499 #6C9924 #249951
monochromatic
#310D36 #5E1867 #8B2499 #B830CB #CA5ED9

Accessibility & contrast

On white

7.47
#8B2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2499
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2499#FFFFFF#000000##FFFFFF
##8B24991.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#8D3B5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2499;
/* rgb */ color: rgb(139, 36, 153);
/* oklch */ color: oklch(47.4% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#b16bb8',
    500: '#8b2499',
    950: '#000000',
  },
}
SCSS
$custom: #8b2499;
$custom-light: #b16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2499",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 292.821,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.19207,
    "h": 322.6
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#8B2499
secondary
#67BE5B
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2499

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

Preview Lab → · Contrast checker → · Palette generator →

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