#8B3BB2#8B3BB2

#8B3BB2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.187 H 312.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8B3BB2
RGBrgb(139, 59, 178)
HSLhsl(280, 50%, 46%)
HSVhsv(280, 67%, 70%)
CMYKcmyk(21.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(40.95, 53.15, -48.92)
CIE-LCHlch(40.95, 72.23, 317.37°)
OKLaboklab(51.41% 0.1268 -0.1379)
OKLCHoklch(51.41% 0.187 312.6)
XYZxyz(20.2459, 11.8318, 43.3281)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BB2 #62B23B
analogous
#503BB2 #8B3BB2 #B23B9E
triadic
#8B3BB2 #B28B3B #3BB28B
tetradic
#8B3BB2 #B2503B #62B23B #3B9EB2
square
#8B3BB2 #B2503B #62B23B #3B9EB2
split-complementary
#8B3BB2 #9EB23B #3BB250
monochromatic
#431D56 #672C84 #8B3BB2 #A760CA #C18EDA

Accessibility & contrast

On white

6.24
#8B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8B3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BB2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BB2#FFFFFF#000000##FFFFFF
##8B3BB21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#875372
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3bb2;
/* rgb */ color: rgb(139, 59, 178);
/* oklch */ color: oklch(51.4% 0.187 312.6);
Tailwind
colors: {
  custom: {
    50: '#b077ca',
    500: '#8b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bb2;
$custom-light: #b077ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bb2",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 280.336,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.18728,
    "h": 312.6
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#8B3BB2
secondary
#99C485
accent
#DA4E7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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