#8B2A92#8B2A92

#8B2A92 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.179 H 325.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8B2A92
RGBrgb(139, 42, 146)
HSLhsl(296, 55%, 37%)
HSVhsv(296, 71%, 57%)
CMYKcmyk(4.8%, 71.2%, 0%, 42.7%)
CIE-LABlab(36.41, 53.95, -36.96)
CIE-LCHlch(36.41, 65.40, 325.58°)
OKLaboklab(47.52% 0.147 -0.1028)
OKLCHoklch(47.52% 0.179 325)
XYZxyz(16.6633, 9.2213, 28.0908)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A92 #31922A
analogous
#572A92 #8B2A92 #922A65
triadic
#8B2A92 #928B2A #2A928B
tetradic
#8B2A92 #92572A #31922A #2A6592
square
#8B2A92 #92572A #31922A #2A6592
split-complementary
#8B2A92 #65922A #2A9257
monochromatic
#310F33 #5E1C62 #8B2A92 #B838C2 #CB64D2

Accessibility & contrast

On white

7.38
#8B2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A92
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A92#FFFFFF#000000##FFFFFF
##8B2A921.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#8E3B5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2a92;
/* rgb */ color: rgb(139, 42, 146);
/* oklch */ color: oklch(47.5% 0.179 325.0);
Tailwind
colors: {
  custom: {
    50: '#b06db2',
    500: '#8b2a92',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a92;
$custom-light: #b06db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a92",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 295.962,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.17937,
    "h": 325
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#8B2A92
secondary
#65B85F
accent
#DF4953
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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