#8B209C#8B209C

#8B209C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.199 H 321.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8B209C
RGBrgb(139, 32, 156)
HSLhsl(292, 66%, 37%)
HSVhsv(292, 79%, 61%)
CMYKcmyk(10.9%, 79.5%, 0%, 38.8%)
CIE-LABlab(35.84, 59.18, -43.96)
CIE-LCHlch(35.84, 73.73, 323.39°)
OKLaboklab(47.31% 0.1557 -0.1232)
OKLCHoklch(47.31% 0.199 321.7)
XYZxyz(17.1641, 8.9233, 32.2643)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B209C #319C20
analogous
#4D209C #8B209C #9C206F
triadic
#8B209C #9C8B20 #209C8B
tetradic
#8B209C #9C4D20 #319C20 #206F9C
square
#8B209C #9C4D20 #319C20 #206F9C
split-complementary
#8B209C #6F9C20 #209C4D
monochromatic
#310B36 #5E1669 #8B209C #B82ACF #CB59DD

Accessibility & contrast

On white

7.54
#8B209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B209C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B209C#FFFFFF#000000##FFFFFF
##8B209C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#8C3A5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b209c;
/* rgb */ color: rgb(139, 32, 156);
/* oklch */ color: oklch(47.3% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#b169ba',
    500: '#8b209c',
    950: '#000000',
  },
}
SCSS
$custom: #8b209c;
$custom-light: #b169ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b209c",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 291.774,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.19851,
    "h": 321.7
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#8B209C
secondary
#65C157
accent
#E93F56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B209C

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

Preview Lab → · Contrast checker → · Palette generator →

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