#8B2B94#8B2B94

#8B2B94 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.180 H 324.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8B2B94
RGBrgb(139, 43, 148)
HSLhsl(295, 55%, 37%)
HSVhsv(295, 71%, 58%)
CMYKcmyk(6.1%, 70.9%, 0%, 42%)
CIE-LABlab(36.66, 53.93, -37.78)
CIE-LCHlch(36.66, 65.85, 324.99°)
OKLaboklab(47.74% 0.1459 -0.1052)
OKLCHoklch(47.74% 0.18 324.2)
XYZxyz(16.8562, 9.3559, 28.9292)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2B94 #34942B
analogous
#562B94 #8B2B94 #942B69
triadic
#8B2B94 #948B2B #2B948B
tetradic
#8B2B94 #94562B #34942B #2B6994
square
#8B2B94 #94562B #34942B #2B6994
split-complementary
#8B2B94 #69942B #2B9456
monochromatic
#320F35 #5E1D65 #8B2B94 #B839C3 #C967D3

Accessibility & contrast

On white

7.31
#8B2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2B94
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2B94#FFFFFF#000000##FFFFFF
##8B2B941.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#8E3D5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2b94;
/* rgb */ color: rgb(139, 43, 148);
/* oklch */ color: oklch(47.7% 0.180 324.2);
Tailwind
colors: {
  custom: {
    50: '#b06eb4',
    500: '#8b2b94',
    950: '#000000',
  },
}
SCSS
$custom: #8b2b94;
$custom-light: #b06eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2b94",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 294.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.17986,
    "h": 324.2
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#8B2B94
secondary
#69B962
accent
#DE4956
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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