#8B2099#8B2099

#8B2099 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.196 H 322.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2099
RGBrgb(139, 32, 153)
HSLhsl(293, 65%, 36%)
HSVhsv(293, 79%, 60%)
CMYKcmyk(9.2%, 79.1%, 0%, 40%)
CIE-LABlab(35.64, 58.64, -42.46)
CIE-LCHlch(35.64, 72.40, 324.10°)
OKLaboklab(47.11% 0.156 -0.1187)
OKLCHoklch(47.11% 0.196 322.7)
XYZxyz(16.9132, 8.8229, 30.9430)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2099 #2E9920
analogous
#4F2099 #8B2099 #99206B
triadic
#8B2099 #998B20 #20998B
tetradic
#8B2099 #994F20 #2E9920 #206B99
square
#8B2099 #994F20 #2E9920 #206B99
split-complementary
#8B2099 #6B9920 #20994F
monochromatic
#2F0B34 #5D1566 #8B2099 #B92BCC #CD57DC

Accessibility & contrast

On white

7.60
#8B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2099
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2099#FFFFFF#000000##FFFFFF
##8B20991.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#345896
Tritanopia (blue-blind)
#8D385C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2099;
/* rgb */ color: rgb(139, 32, 153);
/* oklch */ color: oklch(47.1% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#b169b8',
    500: '#8b2099',
    950: '#000000',
  },
}
SCSS
$custom: #8b2099;
$custom-light: #b169b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2099",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 293.058,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.19605,
    "h": 322.7
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#8B2099
secondary
#61C055
accent
#E83F53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2099

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

Preview Lab → · Contrast checker → · Palette generator →

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