#8B208B#8B208B

#8B208B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.185 H 328.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8B208B
RGBrgb(139, 32, 139)
HSLhsl(300, 63%, 34%)
HSVhsv(300, 77%, 55%)
CMYKcmyk(0%, 77%, 0%, 45.5%)
CIE-LABlab(34.78, 56.20, -35.26)
CIE-LCHlch(34.78, 66.34, 327.90°)
OKLaboklab(46.22% 0.1568 -0.0977)
OKLCHoklch(46.22% 0.185 328.1)
XYZxyz(15.8240, 8.3872, 25.2065)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B208B #208B20
analogous
#55208B #8B208B #8B2055
triadic
#8B208B #8B8B20 #208B8B
tetradic
#8B208B #8B5520 #208B20 #20558B
square
#8B208B #8B5520 #208B20 #20558B
split-complementary
#8B208B #558B20 #208B55
monochromatic
#280928 #591559 #8B208B #BD2BBD #D64FD6

Accessibility & contrast

On white

7.84
#8B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B208B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B208B#FFFFFF#000000##FFFFFF
##8B208B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498E
Deuteranopia (green-blind)
#3E5788
Tritanopia (blue-blind)
#903254
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b208b;
/* rgb */ color: rgb(139, 32, 139);
/* oklch */ color: oklch(46.2% 0.185 328.1);
Tailwind
colors: {
  custom: {
    50: '#b068ad',
    500: '#8b208b',
    950: '#000000',
  },
}
SCSS
$custom: #8b208b;
$custom-light: #b068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b208b",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.18481,
    "h": 328.1
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#8B208B
secondary
#4DBA4D
accent
#E64242
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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