#8B3EB0#8B3EB0

#8B3EB0 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.6% C 0.181 H 312.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B3EB0
RGBrgb(139, 62, 176)
HSLhsl(281, 48%, 47%)
HSVhsv(281, 65%, 69%)
CMYKcmyk(21%, 64.8%, 0%, 31%)
CIE-LABlab(41.33, 51.31, -47.13)
CIE-LCHlch(41.33, 69.67, 317.43°)
OKLaboklab(51.64% 0.1234 -0.1326)
OKLCHoklch(51.64% 0.181 312.9)
XYZxyz(20.2052, 12.0694, 42.3311)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EB0 #63B03E
analogous
#523EB0 #8B3EB0 #B03E9C
triadic
#8B3EB0 #B08B3E #3EB08B
tetradic
#8B3EB0 #B0523E #63B03E #3E9CB0
square
#8B3EB0 #B0523E #63B03E #3E9CB0
split-complementary
#8B3EB0 #9CB03E #3EB052
monochromatic
#441E55 #672E83 #8B3EB0 #A763C8 #C190D8

Accessibility & contrast

On white

6.15
#8B3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B3EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EB0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EB0#FFFFFF#000000##FFFFFF
##8B3EB01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB3
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#875471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3eb0;
/* rgb */ color: rgb(139, 62, 176);
/* oklch */ color: oklch(51.6% 0.181 312.9);
Tailwind
colors: {
  custom: {
    50: '#b078c8',
    500: '#8b3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #8b3eb0;
$custom-light: #b078c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3eb0",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 280.526,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.18114,
    "h": 312.9
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#8B3EB0
secondary
#9AC387
accent
#D7507C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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