#8B2C8C#8B2C8C

#8B2C8C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.172 H 327.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8B2C8C
RGBrgb(139, 44, 140)
HSLhsl(299, 52%, 36%)
HSVhsv(299, 69%, 55%)
CMYKcmyk(0.7%, 68.6%, 0%, 45.1%)
CIE-LABlab(36.34, 52.09, -33.40)
CIE-LCHlch(36.34, 61.88, 327.34°)
OKLaboklab(47.36% 0.1448 -0.0924)
OKLCHoklch(47.36% 0.172 327.4)
XYZxyz(16.2815, 9.1849, 25.7212)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C8C #2D8C2C
analogous
#5B2C8C #8B2C8C #8C2C5D
triadic
#8B2C8C #8C8B2C #2C8C8B
tetradic
#8B2C8C #8C5B2C #2D8C2C #2C5D8C
square
#8B2C8C #8C5B2C #2D8C2C #2C5D8C
split-complementary
#8B2C8C #5D8C2C #2C8C5B
monochromatic
#2F0F2F #5D1D5D #8B2C8C #B93BBB #CD64CE

Accessibility & contrast

On white

7.40
#8B2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2C8C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C8C#FFFFFF#000000##FFFFFF
##8B2C8C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#435A89
Tritanopia (blue-blind)
#8F3A58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2c8c;
/* rgb */ color: rgb(139, 44, 140);
/* oklch */ color: oklch(47.4% 0.172 327.4);
Tailwind
colors: {
  custom: {
    50: '#b06eae',
    500: '#8b2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c8c;
$custom-light: #b06eae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c8c",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 299.375,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.17176,
    "h": 327.4
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#8B2C8C
secondary
#60B55F
accent
#DC4C4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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