#8B3EB4#8B3EB4

#8B3EB4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.185 H 311.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8B3EB4
RGBrgb(139, 62, 180)
HSLhsl(279, 49%, 47%)
HSVhsv(279, 66%, 71%)
CMYKcmyk(22.8%, 65.6%, 0%, 29.4%)
CIE-LABlab(41.58, 52.19, -49.09)
CIE-LCHlch(41.58, 71.64, 316.75°)
OKLaboklab(51.91% 0.1232 -0.1384)
OKLCHoklch(51.91% 0.185 311.7)
XYZxyz(20.6068, 12.2300, 44.4463)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EB4 #67B43E
analogous
#503EB4 #8B3EB4 #B43EA2
triadic
#8B3EB4 #B48B3E #3EB48B
tetradic
#8B3EB4 #B4503E #67B43E #3EA2B4
square
#8B3EB4 #B4503E #67B43E #3EA2B4
split-complementary
#8B3EB4 #A2B43E #3EB450
monochromatic
#451F59 #682E86 #8B3EB4 #A765CA #C193DA

Accessibility & contrast

On white

6.09
#8B3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8B3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EB4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EB4#FFFFFF#000000##FFFFFF
##8B3EB41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3264B1
Tritanopia (blue-blind)
#865674
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3eb4;
/* rgb */ color: rgb(139, 62, 180);
/* oklch */ color: oklch(51.9% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#b078cb',
    500: '#8b3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3eb4;
$custom-light: #b078cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3eb4",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 279.153,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.18525,
    "h": 311.7
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#8B3EB4
secondary
#9EC589
accent
#D84F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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