#8B2C8F#8B2C8F

#8B2C8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.174 H 326.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8B2C8F
RGBrgb(139, 44, 143)
HSLhsl(298, 53%, 37%)
HSVhsv(298, 69%, 56%)
CMYKcmyk(2.8%, 69.2%, 0%, 43.9%)
CIE-LABlab(36.51, 52.63, -34.97)
CIE-LCHlch(36.51, 63.19, 326.40°)
OKLaboklab(47.53% 0.1448 -0.097)
OKLCHoklch(47.53% 0.174 326.2)
XYZxyz(16.5057, 9.2746, 26.9021)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C8F #308F2C
analogous
#5A2C8F #8B2C8F #8F2C62
triadic
#8B2C8F #8F8B2C #2C8F8B
tetradic
#8B2C8F #8F5A2C #308F2C #2C628F
square
#8B2C8F #8F5A2C #308F2C #2C628F
split-complementary
#8B2C8F #628F2C #2C8F5A
monochromatic
#300F31 #5E1E60 #8B2C8F #B83ABE #CC66D0

Accessibility & contrast

On white

7.36
#8B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2C8F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C8F#FFFFFF#000000##FFFFFF
##8B2C8F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#8F3B5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2c8f;
/* rgb */ color: rgb(139, 44, 143);
/* oklch */ color: oklch(47.5% 0.174 326.2);
Tailwind
colors: {
  custom: {
    50: '#b06eb0',
    500: '#8b2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c8f;
$custom-light: #b06eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c8f",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 297.576,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.17431,
    "h": 326.2
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#8B2C8F
secondary
#64B661
accent
#DC4B51
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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