#8B3CA5#8B3CA5

#8B3CA5 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 316.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8B3CA5
RGBrgb(139, 60, 165)
HSLhsl(285, 47%, 44%)
HSVhsv(285, 64%, 65%)
CMYKcmyk(15.8%, 63.6%, 0%, 35.3%)
CIE-LABlab(40.31, 49.92, -42.22)
CIE-LCHlch(40.31, 65.38, 319.78°)
OKLaboklab(50.69% 0.126 -0.1183)
OKLCHoklch(50.69% 0.173 316.8)
XYZxyz(19.0538, 11.4380, 36.7941)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CA5 #56A53C
analogous
#573CA5 #8B3CA5 #A53C8B
triadic
#8B3CA5 #A58B3C #3CA58B
tetradic
#8B3CA5 #A5573C #56A53C #3C8BA5
square
#8B3CA5 #A5573C #56A53C #3C8BA5
split-complementary
#8B3CA5 #8BA53C #3CA557
monochromatic
#3F1B4B #652C78 #8B3CA5 #A95BC3 #C188D4

Accessibility & contrast

On white

6.39
#8B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8B3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CA5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CA5#FFFFFF#000000##FFFFFF
##8B3CA51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#8A4F6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b3ca5;
/* rgb */ color: rgb(139, 60, 165);
/* oklch */ color: oklch(50.7% 0.173 316.8);
Tailwind
colors: {
  custom: {
    50: '#b077c0',
    500: '#8b3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ca5;
$custom-light: #b077c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ca5",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 285.143,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.17283,
    "h": 316.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#8B3CA5
secondary
#8EBE7F
accent
#D65172
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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