#8B2C93#8B2C93

#8B2C93 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 324.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8B2C93
RGBrgb(139, 44, 147)
HSLhsl(295, 54%, 37%)
HSVhsv(295, 70%, 58%)
CMYKcmyk(5.4%, 70.1%, 0%, 42.4%)
CIE-LABlab(36.74, 53.36, -37.05)
CIE-LCHlch(36.74, 64.96, 325.23°)
OKLaboklab(47.78% 0.1449 -0.103)
OKLCHoklch(47.78% 0.178 324.6)
XYZxyz(16.8142, 9.3979, 28.5265)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C93 #34932C
analogous
#582C93 #8B2C93 #932C67
triadic
#8B2C93 #938B2C #2C938B
tetradic
#8B2C93 #93582C #34932C #2C6793
square
#8B2C93 #93582C #34932C #2C6793
split-complementary
#8B2C93 #67932C #2C9358
monochromatic
#321035 #5E1E64 #8B2C93 #B83AC2 #C968D2

Accessibility & contrast

On white

7.29
#8B2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C93
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C93#FFFFFF#000000##FFFFFF
##8B2C931.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#8E3D5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2c93;
/* rgb */ color: rgb(139, 44, 147);
/* oklch */ color: oklch(47.8% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#b06eb3',
    500: '#8b2c93',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c93;
$custom-light: #b06eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c93",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 295.34,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.17776,
    "h": 324.6
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#8B2C93
secondary
#69B863
accent
#DD4A56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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