#8B3FA0#8B3FA0

#8B3FA0 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.8% C 0.163 H 318.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8B3FA0
RGBrgb(139, 63, 160)
HSLhsl(287, 43%, 44%)
HSVhsv(287, 61%, 63%)
CMYKcmyk(13.1%, 60.6%, 0%, 37.3%)
CIE-LABlab(40.55, 47.44, -38.85)
CIE-LCHlch(40.55, 61.32, 320.68°)
OKLaboklab(50.77% 0.1222 -0.1084)
OKLCHoklch(50.77% 0.163 318.4)
XYZxyz(18.7693, 11.5828, 34.4979)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FA0 #54A03F
analogous
#5A3FA0 #8B3FA0 #A03F84
triadic
#8B3FA0 #A08B3F #3FA08B
tetradic
#8B3FA0 #A05A3F #54A03F #3F84A0
square
#8B3FA0 #A05A3F #54A03F #3F84A0
split-complementary
#8B3FA0 #84A03F #3FA05A
monochromatic
#3F1C48 #652E74 #8B3FA0 #AA5DBF #C189D0

Accessibility & contrast

On white

6.33
#8B3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B3FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FA0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FA0#FFFFFF#000000##FFFFFF
##8B3FA01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA3
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#8B4F69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3fa0;
/* rgb */ color: rgb(139, 63, 160);
/* oklch */ color: oklch(50.8% 0.163 318.4);
Tailwind
colors: {
  custom: {
    50: '#af78bc',
    500: '#8b3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fa0;
$custom-light: #af78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fa0",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 287.01,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.16335,
    "h": 318.4
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#8B3FA0
secondary
#8DBB80
accent
#D35570
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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