#8B3EC4#8B3EC4

#8B3EC4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.202 H 307.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8B3EC4
RGBrgb(139, 62, 196)
HSLhsl(274, 53%, 51%)
HSVhsv(274, 68%, 77%)
CMYKcmyk(29.1%, 68.4%, 0%, 23.1%)
CIE-LABlab(42.64, 55.76, -56.74)
CIE-LCHlch(42.64, 79.56, 314.50°)
OKLaboklab(53.01% 0.1218 -0.1608)
OKLCHoklch(53.01% 0.202 307.1)
XYZxyz(22.3318, 12.9200, 53.5312)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EC4 #77C43E
analogous
#483EC4 #8B3EC4 #C43EBA
triadic
#8B3EC4 #C48B3E #3EC48B
tetradic
#8B3EC4 #C4483E #77C43E #3EBAC4
square
#8B3EC4 #C4483E #77C43E #3EBAC4
split-complementary
#8B3EC4 #BAC43E #3EC448
monochromatic
#492068 #6A2E97 #8B3EC4 #A76DD2 #C39CE1

Accessibility & contrast

On white

5.86
#8B3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EC4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EC4#FFFFFF#000000##FFFFFF
##8B3EC41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#825C7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3ec4;
/* rgb */ color: rgb(139, 62, 196);
/* oklch */ color: oklch(53.0% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#b179d7',
    500: '#8b3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ec4;
$custom-light: #b179d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ec4",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 274.478,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.20174,
    "h": 307.1
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#8B3EC4
secondary
#AACD91
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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