#8B2CAB#8B2CAB

#8B2CAB is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.199 H 316.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2CAB
RGBrgb(139, 44, 171)
HSLhsl(285, 59%, 42%)
HSVhsv(285, 74%, 67%)
CMYKcmyk(18.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(38.25, 57.97, -49.10)
CIE-LCHlch(38.25, 75.97, 319.74°)
OKLaboklab(49.34% 0.1432 -0.1383)
OKLCHoklch(49.34% 0.199 316)
XYZxyz(18.8977, 10.2313, 39.4996)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CAB #4CAB2C
analogous
#4C2CAB #8B2CAB #AB2C8C
triadic
#8B2CAB #AB8B2C #2CAB8B
tetradic
#8B2CAB #AB4C2C #4CAB2C #2C8CAB
square
#8B2CAB #AB4C2C #4CAB2C #2C8CAB
split-complementary
#8B2CAB #8CAB2C #2CAB4C
monochromatic
#3C134A #631F7A #8B2CAB #AC45CF #C276DC

Accessibility & contrast

On white

6.89
#8B2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2CAB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CAB#FFFFFF#000000##FFFFFF
##8B2CAB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2cab;
/* rgb */ color: rgb(139, 44, 171);
/* oklch */ color: oklch(49.3% 0.199 316.0);
Tailwind
colors: {
  custom: {
    50: '#b16fc5',
    500: '#8b2cab',
    950: '#000000',
  },
}
SCSS
$custom: #8b2cab;
$custom-light: #b16fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2cab",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 284.882,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.1991,
    "h": 316
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#8B2CAB
secondary
#85C36F
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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