#8B2A95#8B2A95

#8B2A95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.182 H 323.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8B2A95
RGBrgb(139, 42, 149)
HSLhsl(294, 56%, 37%)
HSVhsv(294, 72%, 58%)
CMYKcmyk(6.7%, 71.8%, 0%, 41.6%)
CIE-LABlab(36.59, 54.50, -38.51)
CIE-LCHlch(36.59, 66.73, 324.75°)
OKLaboklab(47.7% 0.1469 -0.1073)
OKLCHoklch(47.7% 0.182 323.9)
XYZxyz(16.8998, 9.3158, 29.3359)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A95 #34952A
analogous
#562A95 #8B2A95 #952A69
triadic
#8B2A95 #958B2A #2A958B
tetradic
#8B2A95 #95562A #34952A #2A6995
square
#8B2A95 #95562A #34952A #2A6995
split-complementary
#8B2A95 #69952A #2A9556
monochromatic
#320F36 #5E1D65 #8B2A95 #B837C5 #C966D4

Accessibility & contrast

On white

7.33
#8B2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A95
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A95#FFFFFF#000000##FFFFFF
##8B2A951.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#3D5A92
Tritanopia (blue-blind)
#8E3C5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2a95;
/* rgb */ color: rgb(139, 42, 149);
/* oklch */ color: oklch(47.7% 0.182 323.9);
Tailwind
colors: {
  custom: {
    50: '#b06db5',
    500: '#8b2a95',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a95;
$custom-light: #b06db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a95",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 294.393,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.18194,
    "h": 323.9
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#8B2A95
secondary
#69BA61
accent
#DF4857
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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