#8B3CB9#8B3CB9

#8B3CB9 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.193 H 310.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B3CB9
RGBrgb(139, 60, 185)
HSLhsl(278, 51%, 48%)
HSVhsv(278, 68%, 73%)
CMYKcmyk(24.9%, 67.6%, 0%, 27.5%)
CIE-LABlab(41.57, 54.21, -52.04)
CIE-LCHlch(41.57, 75.15, 316.17°)
OKLaboklab(52% 0.1251 -0.147)
OKLCHoklch(52% 0.193 310.4)
XYZxyz(21.0186, 12.2239, 47.1417)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CB9 #6AB93C
analogous
#4D3CB9 #8B3CB9 #B93CA8
triadic
#8B3CB9 #B98B3C #3CB98B
tetradic
#8B3CB9 #B94D3C #6AB93C #3CA8B9
square
#8B3CB9 #B94D3C #6AB93C #3CA8B9
split-complementary
#8B3CB9 #A8B93C #3CB94D
monochromatic
#461E5D #682D8B #8B3CB9 #A765CD #C193DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B3CB9#FFFFFF#000000##FFFFFF
##8B3CB91.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)
#005FBD
Deuteranopia (green-blind)
#2A63B6
Tritanopia (blue-blind)
#855676
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3cb9;
/* rgb */ color: rgb(139, 60, 185);
/* oklch */ color: oklch(52.0% 0.193 310.4);
Tailwind
colors: {
  custom: {
    50: '#b178cf',
    500: '#8b3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cb9;
$custom-light: #b178cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cb9",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 277.92,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.19304,
    "h": 310.4
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#8B3CB9
secondary
#A0C789
accent
#DA4D81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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