#8B2292#8B2292

#8B2292 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.188 H 325.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8B2292
RGBrgb(139, 34, 146)
HSLhsl(296, 62%, 35%)
HSVhsv(296, 77%, 57%)
CMYKcmyk(4.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(35.42, 56.77, -38.54)
CIE-LCHlch(35.42, 68.61, 325.83°)
OKLaboklab(46.81% 0.1548 -0.1073)
OKLCHoklch(46.81% 0.188 325.3)
XYZxyz(16.4074, 8.7094, 28.0055)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2292 #299222
analogous
#532292 #8B2292 #922261
triadic
#8B2292 #928B22 #22928B
tetradic
#8B2292 #925322 #299222 #226192
square
#8B2292 #925322 #299222 #226192
split-complementary
#8B2292 #619222 #229253
monochromatic
#2C0B2F #5C1660 #8B2292 #BA2EC4 #D057D8

Accessibility & contrast

On white

7.66
#8B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2292
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2292#FFFFFF#000000##FFFFFF
##8B22921.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#8E3659
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2292;
/* rgb */ color: rgb(139, 34, 146);
/* oklch */ color: oklch(46.8% 0.188 325.3);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8b2292',
    950: '#000000',
  },
}
SCSS
$custom: #8b2292;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2292",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 296.25,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.18837,
    "h": 325.3
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#8B2292
secondary
#5BBC54
accent
#E5434D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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