#8B3FB1#8B3FB1

#8B3FB1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.8% C 0.181 H 312.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B3FB1
RGBrgb(139, 63, 177)
HSLhsl(280, 48%, 47%)
HSVhsv(280, 64%, 69%)
CMYKcmyk(21.5%, 64.4%, 0%, 30.6%)
CIE-LABlab(41.56, 51.05, -47.34)
CIE-LCHlch(41.56, 69.63, 317.16°)
OKLaboklab(51.83% 0.1221 -0.1333)
OKLCHoklch(51.83% 0.181 312.5)
XYZxyz(20.3594, 12.2189, 42.8724)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FB1 #65B13F
analogous
#523FB1 #8B3FB1 #B13F9E
triadic
#8B3FB1 #B18B3F #3FB18B
tetradic
#8B3FB1 #B1523F #65B13F #3F9EB1
square
#8B3FB1 #B1523F #65B13F #3F9EB1
split-complementary
#8B3FB1 #9EB13F #3FB152
monochromatic
#441F57 #682F84 #8B3FB1 #A765C8 #C192D8

Accessibility & contrast

On white

6.10
#8B3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8B3FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FB1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FB1#FFFFFF#000000##FFFFFF
##8B3FB11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055EB4
Deuteranopia (green-blind)
#3664AE
Tritanopia (blue-blind)
#875572
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3fb1;
/* rgb */ color: rgb(139, 63, 177);
/* oklch */ color: oklch(51.8% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#b079c9',
    500: '#8b3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fb1;
$custom-light: #b079c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fb1",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 280,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.18077,
    "h": 312.5
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#8B3FB1
secondary
#9CC488
accent
#D7517D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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