#8B3FA5#8B3FA5

#8B3FA5 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.168 H 316.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8B3FA5
RGBrgb(139, 63, 165)
HSLhsl(285, 45%, 45%)
HSVhsv(285, 62%, 65%)
CMYKcmyk(15.8%, 61.8%, 0%, 35.3%)
CIE-LABlab(40.83, 48.48, -41.38)
CIE-LCHlch(40.83, 63.74, 319.51°)
OKLaboklab(51.07% 0.1223 -0.1158)
OKLCHoklch(51.07% 0.168 316.6)
XYZxyz(19.2155, 11.7613, 36.8480)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FA5 #59A53F
analogous
#583FA5 #8B3FA5 #A53F8C
triadic
#8B3FA5 #A58B3F #3FA58B
tetradic
#8B3FA5 #A5583F #59A53F #3F8CA5
square
#8B3FA5 #A5583F #59A53F #3F8CA5
split-complementary
#8B3FA5 #8CA53F #3FA558
monochromatic
#401D4C #662E79 #8B3FA5 #A95FC2 #C18CD3

Accessibility & contrast

On white

6.26
#8B3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FA5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FA5#FFFFFF#000000##FFFFFF
##8B3FA51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA8
Deuteranopia (green-blind)
#4063A2
Tritanopia (blue-blind)
#8A516C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3fa5;
/* rgb */ color: rgb(139, 63, 165);
/* oklch */ color: oklch(51.1% 0.168 316.6);
Tailwind
colors: {
  custom: {
    50: '#b079c0',
    500: '#8b3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fa5;
$custom-light: #b079c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fa5",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 284.706,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.16844,
    "h": 316.6
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#8B3FA5
secondary
#91BE82
accent
#D45374
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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