#8B2399#8B2399

#8B2399 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.193 H 322.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8B2399
RGBrgb(139, 35, 153)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(9.2%, 77.1%, 0%, 40%)
CIE-LABlab(35.97, 57.70, -41.93)
CIE-LCHlch(35.97, 71.32, 323.99°)
OKLaboklab(47.34% 0.1534 -0.1172)
OKLCHoklch(47.34% 0.193 322.6)
XYZxyz(16.9977, 8.9919, 30.9711)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2399 #319923
analogous
#502399 #8B2399 #99236C
triadic
#8B2399 #998B23 #23998B
tetradic
#8B2399 #995023 #319923 #236C99
square
#8B2399 #995023 #319923 #236C99
split-complementary
#8B2399 #6C9923 #239950
monochromatic
#310C35 #5E1867 #8B2399 #B82ECB #CB5DDA

Accessibility & contrast

On white

7.50
#8B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8B2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2399
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2399#FFFFFF#000000##FFFFFF
##8B23991.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2399;
/* rgb */ color: rgb(139, 35, 153);
/* oklch */ color: oklch(47.3% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8b2399',
    950: '#000000',
  },
}
SCSS
$custom: #8b2399;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2399",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 292.881,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.1931,
    "h": 322.6
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#8B2399
secondary
#65BE59
accent
#E64255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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