#8B3DBF#8B3DBF

#8B3DBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.198 H 308.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8B3DBF
RGBrgb(139, 61, 191)
HSLhsl(276, 52%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.2%, 68.1%, 0%, 25.1%)
CIE-LABlab(42.14, 55.09, -54.64)
CIE-LCHlch(42.14, 77.60, 315.23°)
OKLaboklab(52.54% 0.1234 -0.1547)
OKLCHoklch(52.54% 0.198 308.6)
XYZxyz(21.7183, 12.5884, 50.5658)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DBF #71BF3D
analogous
#4A3DBF #8B3DBF #BF3DB2
triadic
#8B3DBF #BF8B3D #3DBF8B
tetradic
#8B3DBF #BF4A3D #71BF3D #3DB2BF
square
#8B3DBF #BF4A3D #71BF3D #3DB2BF
split-complementary
#8B3DBF #B2BF3D #3DBF4A
monochromatic
#471F62 #692E91 #8B3DBF #A76ACF #C298DE

Accessibility & contrast

On white

5.97
#8B3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8B3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DBF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DBF#FFFFFF#000000##FFFFFF
##8B3DBF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#835979
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3dbf;
/* rgb */ color: rgb(139, 61, 191);
/* oklch */ color: oklch(52.5% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#b178d3',
    500: '#8b3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dbf;
$custom-light: #b178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dbf",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 276,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.19787,
    "h": 308.6
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#8B3DBF
secondary
#A6CA8E
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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