#8B3CB2#8B3CB2

#8B3CB2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.186 H 312.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B3CB2
RGBrgb(139, 60, 178)
HSLhsl(280, 50%, 47%)
HSVhsv(280, 66%, 70%)
CMYKcmyk(21.9%, 66.3%, 0%, 30.2%)
CIE-LABlab(41.11, 52.68, -48.65)
CIE-LCHlch(41.11, 71.71, 317.28°)
OKLaboklab(51.53% 0.1256 -0.1371)
OKLCHoklch(51.53% 0.186 312.5)
XYZxyz(20.2978, 11.9356, 43.3454)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CB2 #63B23C
analogous
#503CB2 #8B3CB2 #B23C9E
triadic
#8B3CB2 #B28B3C #3CB28B
tetradic
#8B3CB2 #B2503C #63B23C #3C9EB2
square
#8B3CB2 #B2503C #63B23C #3C9EB2
split-complementary
#8B3CB2 #9EB23C #3CB250
monochromatic
#441D56 #672D84 #8B3CB2 #A761CA #C18FD9

Accessibility & contrast

On white

6.20
#8B3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CB2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CB2#FFFFFF#000000##FFFFFF
##8B3CB21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b3cb2;
/* rgb */ color: rgb(139, 60, 178);
/* oklch */ color: oklch(51.5% 0.186 312.5);
Tailwind
colors: {
  custom: {
    50: '#b077ca',
    500: '#8b3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cb2;
$custom-light: #b077ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cb2",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 280.169,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.18593,
    "h": 312.5
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#8B3CB2
secondary
#9AC486
accent
#D94F7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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