#8B3AC4#8B3AC4

#8B3AC4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.207 H 307.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8B3AC4
RGBrgb(139, 58, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 77%)
CMYKcmyk(29.1%, 70.4%, 0%, 23.1%)
CIE-LABlab(42.00, 57.56, -57.78)
CIE-LCHlch(42.00, 81.55, 314.89°)
OKLaboklab(52.55% 0.1259 -0.1639)
OKLCHoklch(52.55% 0.207 307.5)
XYZxyz(22.1222, 12.5009, 53.4614)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AC4 #73C43A
analogous
#463AC4 #8B3AC4 #C43AB8
triadic
#8B3AC4 #C48B3A #3AC48B
tetradic
#8B3AC4 #C4463A #73C43A #3AB8C4
square
#8B3AC4 #C4463A #73C43A #3AB8C4
split-complementary
#8B3AC4 #B8C43A #3AC446
monochromatic
#481E66 #6A2C95 #8B3AC4 #A769D3 #C398E0

Accessibility & contrast

On white

6.00
#8B3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AC4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AC4#FFFFFF#000000##FFFFFF
##8B3AC41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1164C1
Tritanopia (blue-blind)
#82597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3ac4;
/* rgb */ color: rgb(139, 58, 196);
/* oklch */ color: oklch(52.6% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#b277d7',
    500: '#8b3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ac4;
$custom-light: #b277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ac4",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 275.217,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.20667,
    "h": 307.5
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#8B3AC4
secondary
#A7CC8E
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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