#8B2296#8B2296

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

Color values

HEX#8B2296
RGBrgb(139, 34, 150)
HSLhsl(294, 63%, 36%)
HSVhsv(294, 77%, 59%)
CMYKcmyk(7.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(35.67, 57.48, -40.59)
CIE-LCHlch(35.67, 70.36, 324.77°)
OKLaboklab(47.07% 0.1546 -0.1133)
OKLCHoklch(47.07% 0.192 323.8)
XYZxyz(16.7240, 8.8361, 29.6729)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2296 #2D9622
analogous
#512296 #8B2296 #962267
triadic
#8B2296 #968B22 #22968B
tetradic
#8B2296 #965122 #2D9622 #226796
square
#8B2296 #965122 #2D9622 #226796
split-complementary
#8B2296 #679622 #229651
monochromatic
#2F0B32 #5D1764 #8B2296 #B92DC8 #CD59D9

Accessibility & contrast

On white

7.59
#8B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2296
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2296#FFFFFF#000000##FFFFFF
##8B22961.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#8D385B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2296;
/* rgb */ color: rgb(139, 34, 150);
/* oklch */ color: oklch(47.1% 0.192 323.8);
Tailwind
colors: {
  custom: {
    50: '#b16ab5',
    500: '#8b2296',
    950: '#000000',
  },
}
SCSS
$custom: #8b2296;
$custom-light: #b16ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2296",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 294.31,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47068,
    "c": 0.19164,
    "h": 323.8
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#8B2296
secondary
#60BE56
accent
#E64251
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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