#8B3DB8#8B3DB8

#8B3DB8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 310.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B3DB8
RGBrgb(139, 61, 184)
HSLhsl(278, 50%, 48%)
HSVhsv(278, 67%, 72%)
CMYKcmyk(24.5%, 66.8%, 0%, 27.8%)
CIE-LABlab(41.67, 53.53, -51.30)
CIE-LCHlch(41.67, 74.14, 316.22°)
OKLaboklab(52.05% 0.124 -0.1448)
OKLCHoklch(52.05% 0.191 310.6)
XYZxyz(20.9663, 12.2876, 46.6054)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DB8 #6AB83D
analogous
#4E3DB8 #8B3DB8 #B83DA7
triadic
#8B3DB8 #B88B3D #3DB88B
tetradic
#8B3DB8 #B84E3D #6AB83D #3DA7B8
square
#8B3DB8 #B84E3D #6AB83D #3DA7B8
split-complementary
#8B3DB8 #A7B83D #3DB84E
monochromatic
#461F5C #682E8A #8B3DB8 #A766CC #C194DB

Accessibility & contrast

On white

6.07
#8B3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8B3DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DB8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DB8#FFFFFF#000000##FFFFFF
##8B3DB81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#855675
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3db8;
/* rgb */ color: rgb(139, 61, 184);
/* oklch */ color: oklch(52.1% 0.191 310.6);
Tailwind
colors: {
  custom: {
    50: '#b178ce',
    500: '#8b3db8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3db8;
$custom-light: #b178ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3db8",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 278.049,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.1907,
    "h": 310.6
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#8B3DB8
secondary
#A0C78A
accent
#DA4E81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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