#8B208C#8B208C

#8B208C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.186 H 327.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8B208C
RGBrgb(139, 32, 140)
HSLhsl(299, 63%, 34%)
HSVhsv(299, 77%, 55%)
CMYKcmyk(0.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(34.84, 56.37, -35.78)
CIE-LCHlch(34.84, 66.76, 327.59°)
OKLaboklab(46.28% 0.1568 -0.0993)
OKLCHoklch(46.28% 0.186 327.7)
XYZxyz(15.8974, 8.4166, 25.5931)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B208C #218C20
analogous
#55208C #8B208C #8C2057
triadic
#8B208C #8C8B20 #208C8B
tetradic
#8B208C #8C5520 #218C20 #20578C
square
#8B208C #8C5520 #218C20 #20578C
split-complementary
#8B208C #578C20 #208C55
monochromatic
#280928 #5A155A #8B208C #BC2BBE #D650D7

Accessibility & contrast

On white

7.83
#8B208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B208C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B208C#FFFFFF#000000##FFFFFF
##8B208C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#8F3255
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b208c;
/* rgb */ color: rgb(139, 32, 140);
/* oklch */ color: oklch(46.3% 0.186 327.7);
Tailwind
colors: {
  custom: {
    50: '#b068ae',
    500: '#8b208c',
    950: '#000000',
  },
}
SCSS
$custom: #8b208c;
$custom-light: #b068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b208c",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 299.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4628,
    "c": 0.18559,
    "h": 327.7
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#8B208C
secondary
#4FBA4E
accent
#E64243
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B208C

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

Preview Lab → · Contrast checker → · Palette generator →

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