#8B207A#8B207A

#8B207A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.172 H 335.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8B207A
RGBrgb(139, 32, 122)
HSLhsl(310, 63%, 34%)
HSVhsv(310, 77%, 55%)
CMYKcmyk(0%, 77%, 12.2%, 45.5%)
CIE-LABlab(33.83, 53.45, -26.17)
CIE-LCHlch(33.83, 59.51, 333.92°)
OKLaboklab(45.24% 0.1563 -0.0715)
OKLCHoklch(45.24% 0.172 335.4)
XYZxyz(14.6770, 7.9285, 19.1659)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B207A #208B31
analogous
#66208B #8B207A #8B2044
triadic
#8B207A #7A8B20 #207A8B
tetradic
#8B207A #8B6620 #208B31 #20448B
square
#8B207A #8B6620 #208B31 #20448B
split-complementary
#8B207A #448B20 #208B66
monochromatic
#280923 #59154E #8B207A #BD2BA6 #D64FC1

Accessibility & contrast

On white

8.12
#8B207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B207A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B207A#FFFFFF#000000##FFFFFF
##8B207A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#92294B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b207a;
/* rgb */ color: rgb(139, 32, 122);
/* oklch */ color: oklch(45.2% 0.172 335.4);
Tailwind
colors: {
  custom: {
    50: '#b068a1',
    500: '#8b207a',
    950: '#000000',
  },
}
SCSS
$custom: #8b207a;
$custom-light: #b068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b207a",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 309.533,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.17189,
    "h": 335.4
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8B207A
secondary
#4DBA5E
accent
#E65C42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B207A

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

Preview Lab → · Contrast checker → · Palette generator →

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