#8B2CAC#8B2CAC

#8B2CAC is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.4% C 0.200 H 315.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B2CAC
RGBrgb(139, 44, 172)
HSLhsl(285, 59%, 42%)
HSVhsv(285, 74%, 67%)
CMYKcmyk(19.2%, 74.4%, 0%, 32.5%)
CIE-LABlab(38.32, 58.17, -49.59)
CIE-LCHlch(38.32, 76.44, 319.56°)
OKLaboklab(49.41% 0.1431 -0.1397)
OKLCHoklch(49.41% 0.2 315.7)
XYZxyz(18.9934, 10.2696, 40.0035)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CAC #4DAC2C
analogous
#4B2CAC #8B2CAC #AC2C8D
triadic
#8B2CAC #AC8B2C #2CAC8B
tetradic
#8B2CAC #AC4B2C #4DAC2C #2C8DAC
square
#8B2CAC #AC4B2C #4DAC2C #2C8DAC
split-complementary
#8B2CAC #8DAC2C #2CAC4B
monochromatic
#3C134B #64207B #8B2CAC #AC46D0 #C276DC

Accessibility & contrast

On white

6.88
#8B2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CAC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CAC#FFFFFF#000000##FFFFFF
##8B2CAC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#295DA9
Tritanopia (blue-blind)
#89486A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2cac;
/* rgb */ color: rgb(139, 44, 172);
/* oklch */ color: oklch(49.4% 0.200 315.7);
Tailwind
colors: {
  custom: {
    50: '#b16fc5',
    500: '#8b2cac',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cac;
$custom-light: #b16fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cac",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 284.531,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.20001,
    "h": 315.7
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#8B2CAC
secondary
#86C470
accent
#E2456E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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