#8B2E8A#8B2E8A

#8B2E8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.167 H 328.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8B2E8A
RGBrgb(139, 46, 138)
HSLhsl(301, 50%, 36%)
HSVhsv(301, 67%, 55%)
CMYKcmyk(0%, 66.9%, 0.7%, 45.5%)
CIE-LABlab(36.52, 50.93, -31.89)
CIE-LCHlch(36.52, 60.09, 327.95°)
OKLaboklab(47.45% 0.1424 -0.0881)
OKLCHoklch(47.45% 0.167 328.3)
XYZxyz(16.2117, 9.2791, 24.9770)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E8A #2E8B2F
analogous
#5E2E8B #8B2E8A #8B2E5C
triadic
#8B2E8A #8A8B2E #2E8A8B
tetradic
#8B2E8A #8B5E2E #2E8B2F #2E5C8B
square
#8B2E8A #8B5E2E #2E8B2F #2E5C8B
split-complementary
#8B2E8A #5C8B2E #2E8B5E
monochromatic
#2F102F #5D1F5C #8B2E8A #B93DB8 #CD67CC

Accessibility & contrast

On white

7.35
#8B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2E8A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E8A#FFFFFF#000000##FFFFFF
##8B2E8A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#465A88
Tritanopia (blue-blind)
#8F3A58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2e8a;
/* rgb */ color: rgb(139, 46, 138);
/* oklch */ color: oklch(47.4% 0.167 328.3);
Tailwind
colors: {
  custom: {
    50: '#b06fac',
    500: '#8b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e8a;
$custom-light: #b06fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e8a",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 300.645,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.16743,
    "h": 328.3
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#8B2E8A
secondary
#61B362
accent
#DA504E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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