#8B2CAA#8B2CAA

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

Color values

HEX#8B2CAA
RGBrgb(139, 44, 170)
HSLhsl(285, 59%, 42%)
HSVhsv(285, 74%, 67%)
CMYKcmyk(18.2%, 74.1%, 0%, 33.3%)
CIE-LABlab(38.19, 57.77, -48.61)
CIE-LCHlch(38.19, 75.50, 319.92°)
OKLaboklab(49.27% 0.1434 -0.1368)
OKLCHoklch(49.27% 0.198 316.3)
XYZxyz(18.8027, 10.1934, 38.9995)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2CAA #4BAA2C
analogous
#4C2CAA #8B2CAA #AA2C8A
triadic
#8B2CAA #AA8B2C #2CAA8B
tetradic
#8B2CAA #AA4C2C #4BAA2C #2C8AAA
square
#8B2CAA #AA4C2C #4BAA2C #2C8AAA
split-complementary
#8B2CAA #8AAA2C #2CAA4C
monochromatic
#3B1349 #631F79 #8B2CAA #AD44CF #C275DB

Accessibility & contrast

On white

6.91
#8B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2CAA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2CAA#FFFFFF#000000##FFFFFF
##8B2CAA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#2C5DA7
Tritanopia (blue-blind)
#894769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2caa;
/* rgb */ color: rgb(139, 44, 170);
/* oklch */ color: oklch(49.3% 0.198 316.3);
Tailwind
colors: {
  custom: {
    50: '#b16fc4',
    500: '#8b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #8b2caa;
$custom-light: #b16fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2caa",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 285.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.19819,
    "h": 316.3
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#8B2CAA
secondary
#84C36F
accent
#E2466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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