#8B2299#8B2299

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

Color values

HEX#8B2299
RGBrgb(139, 34, 153)
HSLhsl(293, 64%, 37%)
HSVhsv(293, 78%, 60%)
CMYKcmyk(9.2%, 77.8%, 0%, 40%)
CIE-LABlab(35.86, 58.02, -42.11)
CIE-LCHlch(35.86, 71.69, 324.03°)
OKLaboklab(47.26% 0.1543 -0.1177)
OKLCHoklch(47.26% 0.194 322.7)
XYZxyz(16.9687, 8.9339, 30.9615)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2299 #309922
analogous
#502299 #8B2299 #99226C
triadic
#8B2299 #998B22 #22998B
tetradic
#8B2299 #995022 #309922 #226C99
square
#8B2299 #995022 #309922 #226C99
split-complementary
#8B2299 #6C9922 #229950
monochromatic
#300C35 #5E1767 #8B2299 #B82DCB #CC5BDB

Accessibility & contrast

On white

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

On black

2.79
#8B2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B2299#FFFFFF#000000##FFFFFF
##8B22991.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#8D3A5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2299;
/* rgb */ color: rgb(139, 34, 153);
/* oklch */ color: oklch(47.3% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8b2299',
    950: '#000000',
  },
}
SCSS
$custom: #8b2299;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2299",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 292.941,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.19411,
    "h": 322.7
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#8B2299
secondary
#64BF58
accent
#E74155
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2299

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

Preview Lab → · Contrast checker → · Palette generator →

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