#8B2C8E#8B2C8E

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

Color values

HEX#8B2C8E
RGBrgb(139, 44, 142)
HSLhsl(298, 53%, 36%)
HSVhsv(298, 69%, 56%)
CMYKcmyk(2.1%, 69%, 0%, 44.3%)
CIE-LABlab(36.45, 52.45, -34.45)
CIE-LCHlch(36.45, 62.75, 326.71°)
OKLaboklab(47.48% 0.1448 -0.0955)
OKLCHoklch(47.48% 0.173 326.6)
XYZxyz(16.4303, 9.2444, 26.5049)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C8E #2F8E2C
analogous
#5A2C8E #8B2C8E #8E2C60
triadic
#8B2C8E #8E8B2C #2C8E8B
tetradic
#8B2C8E #8E5A2C #2F8E2C #2C608E
square
#8B2C8E #8E5A2C #2F8E2C #2C608E
split-complementary
#8B2C8E #608E2C #2C8E5A
monochromatic
#300F31 #5D1E5F #8B2C8E #B93ABD #CC65CF

Accessibility & contrast

On white

7.37
#8B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C8E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C8E#FFFFFF#000000##FFFFFF
##8B2C8E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#8F3B59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2c8e;
/* rgb */ color: rgb(139, 44, 142);
/* oklch */ color: oklch(47.5% 0.173 326.6);
Tailwind
colors: {
  custom: {
    50: '#b06eaf',
    500: '#8b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c8e;
$custom-light: #b06eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c8e",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 298.163,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.17345,
    "h": 326.6
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#8B2C8E
secondary
#63B660
accent
#DC4C50
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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