#8B3CA2#8B3CA2

#8B3CA2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.170 H 317.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8B3CA2
RGBrgb(139, 60, 162)
HSLhsl(286, 46%, 44%)
HSVhsv(286, 63%, 64%)
CMYKcmyk(14.2%, 63%, 0%, 36.5%)
CIE-LABlab(40.13, 49.30, -40.71)
CIE-LCHlch(40.13, 63.93, 320.45°)
OKLaboklab(50.51% 0.126 -0.1138)
OKLCHoklch(50.51% 0.17 317.9)
XYZxyz(18.7840, 11.3301, 35.3729)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CA2 #53A23C
analogous
#583CA2 #8B3CA2 #A23C86
triadic
#8B3CA2 #A28B3C #3CA28B
tetradic
#8B3CA2 #A2583C #53A23C #3C86A2
square
#8B3CA2 #A2583C #53A23C #3C86A2
split-complementary
#8B3CA2 #86A23C #3CA258
monochromatic
#3E1B49 #652B75 #8B3CA2 #AA59C2 #C186D2

Accessibility & contrast

On white

6.43
#8B3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CA2#FFFFFF#000000##FFFFFF
##8B3CA21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#8A4D69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b3ca2;
/* rgb */ color: rgb(139, 60, 162);
/* oklch */ color: oklch(50.5% 0.170 317.9);
Tailwind
colors: {
  custom: {
    50: '#b077be',
    500: '#8b3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ca2;
$custom-light: #b077be;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ca2",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 286.471,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.16983,
    "h": 317.9
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#8B3CA2
secondary
#8CBC7D
accent
#D65270
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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