#8B3FA4#8B3FA4

#8B3FA4 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.167 H 316.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8B3FA4
RGBrgb(139, 63, 164)
HSLhsl(285, 44%, 45%)
HSVhsv(285, 62%, 64%)
CMYKcmyk(15.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(40.78, 48.27, -40.88)
CIE-LCHlch(40.78, 63.25, 319.74°)
OKLaboklab(51.01% 0.1223 -0.1144)
OKLCHoklch(51.01% 0.167 316.9)
XYZxyz(19.1248, 11.7250, 36.3705)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FA4 #58A43F
analogous
#593FA4 #8B3FA4 #A43F8A
triadic
#8B3FA4 #A48B3F #3FA48B
tetradic
#8B3FA4 #A4593F #58A43F #3F8AA4
square
#8B3FA4 #A4593F #58A43F #3F8AA4
split-complementary
#8B3FA4 #8AA43F #3FA459
monochromatic
#401D4C #662E78 #8B3FA4 #A95FC1 #C18BD2

Accessibility & contrast

On white

6.28
#8B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8B3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FA4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FA4#FFFFFF#000000##FFFFFF
##8B3FA41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#8A506B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3fa4;
/* rgb */ color: rgb(139, 63, 164);
/* oklch */ color: oklch(51.0% 0.167 316.9);
Tailwind
colors: {
  custom: {
    50: '#b079bf',
    500: '#8b3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fa4;
$custom-light: #b079bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fa4",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 285.149,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.16742,
    "h": 316.9
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#8B3FA4
secondary
#90BD82
accent
#D45473
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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