#8B2C86#8B2C86

#8B2C86 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.167 H 330.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8B2C86
RGBrgb(139, 44, 134)
HSLhsl(303, 52%, 36%)
HSVhsv(303, 68%, 55%)
CMYKcmyk(0%, 68.3%, 3.6%, 45.5%)
CIE-LABlab(36.01, 51.04, -30.22)
CIE-LCHlch(36.01, 59.32, 329.37°)
OKLaboklab(47.01% 0.1445 -0.0832)
OKLCHoklch(47.01% 0.167 330.1)
XYZxyz(15.8511, 9.0127, 23.4544)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C86 #2C8B31
analogous
#602C8B #8B2C86 #8B2C56
triadic
#8B2C86 #868B2C #2C868B
tetradic
#8B2C86 #8B602C #2C8B31 #2C568B
square
#8B2C86 #8B602C #2C8B31 #2C568B
split-complementary
#8B2C86 #568B2C #2C8B60
monochromatic
#2E0F2C #5D1D59 #8B2C86 #B93BB3 #CE64C8

Accessibility & contrast

On white

7.49
#8B2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2C86
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C86#FFFFFF#000000##FFFFFF
##8B2C861.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#475984
Tritanopia (blue-blind)
#903755
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2c86;
/* rgb */ color: rgb(139, 44, 134);
/* oklch */ color: oklch(47.0% 0.167 330.1);
Tailwind
colors: {
  custom: {
    50: '#b06da9',
    500: '#8b2c86',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c86;
$custom-light: #b06da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c86",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 303.158,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.16673,
    "h": 330.1
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#8B2C86
secondary
#5FB463
accent
#DB544C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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