#8B2086#8B2086

#8B2086 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.181 H 330.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2086
RGBrgb(139, 32, 134)
HSLhsl(303, 63%, 34%)
HSVhsv(303, 77%, 55%)
CMYKcmyk(0%, 77%, 3.6%, 45.5%)
CIE-LABlab(34.49, 55.36, -32.63)
CIE-LCHlch(34.49, 64.26, 329.49°)
OKLaboklab(45.92% 0.1569 -0.0901)
OKLCHoklch(45.92% 0.181 330.1)
XYZxyz(15.4670, 8.2444, 23.3263)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2086 #208B25
analogous
#5A208B #8B2086 #8B2050
triadic
#8B2086 #868B20 #20868B
tetradic
#8B2086 #8B5A20 #208B25 #20508B
square
#8B2086 #8B5A20 #208B25 #20508B
split-complementary
#8B2086 #508B20 #208B5A
monochromatic
#280926 #591556 #8B2086 #BD2BB6 #D64FD0

Accessibility & contrast

On white

7.93
#8B2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2086
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2086#FFFFFF#000000##FFFFFF
##8B20861.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#902F52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2086;
/* rgb */ color: rgb(139, 32, 134);
/* oklch */ color: oklch(45.9% 0.181 330.1);
Tailwind
colors: {
  custom: {
    50: '#b068a9',
    500: '#8b2086',
    950: '#000000',
  },
}
SCSS
$custom: #8b2086;
$custom-light: #b068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2086",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 302.804,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.18091,
    "h": 330.1
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#8B2086
secondary
#4DBA52
accent
#E64A42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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