#8B208E#8B208E

#8B208E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.187 H 326.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8B208E
RGBrgb(139, 32, 142)
HSLhsl(298, 63%, 34%)
HSVhsv(298, 77%, 56%)
CMYKcmyk(2.1%, 77.5%, 0%, 44.3%)
CIE-LABlab(34.96, 56.71, -36.82)
CIE-LCHlch(34.96, 67.61, 327.00°)
OKLaboklab(46.4% 0.1568 -0.1023)
OKLCHoklch(46.4% 0.187 326.9)
XYZxyz(16.0462, 8.4761, 26.3768)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B208E #238E20
analogous
#54208E #8B208E #8E205A
triadic
#8B208E #8E8B20 #208E8B
tetradic
#8B208E #8E5420 #238E20 #205A8E
square
#8B208E #8E5420 #238E20 #205A8E
split-complementary
#8B208E #5A8E20 #208E54
monochromatic
#29092A #5A155C #8B208E #BC2BC0 #D451D8

Accessibility & contrast

On white

7.79
#8B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8B208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B208E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B208E#FFFFFF#000000##FFFFFF
##8B208E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#3C578B
Tritanopia (blue-blind)
#8F3356
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b208e;
/* rgb */ color: rgb(139, 32, 142);
/* oklch */ color: oklch(46.4% 0.187 326.9);
Tailwind
colors: {
  custom: {
    50: '#b069af',
    500: '#8b208e',
    950: '#000000',
  },
}
SCSS
$custom: #8b208e;
$custom-light: #b069af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b208e",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 298.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.18718,
    "h": 326.9
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#8B208E
secondary
#52BB4F
accent
#E64246
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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