#8B3AC2#8B3AC2

#8B3AC2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.205 H 308.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8B3AC2
RGBrgb(139, 58, 194)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 76%)
CMYKcmyk(28.4%, 70.1%, 0%, 23.9%)
CIE-LABlab(41.86, 57.11, -56.84)
CIE-LCHlch(41.86, 80.57, 315.14°)
OKLaboklab(52.41% 0.1262 -0.1611)
OKLCHoklch(52.41% 0.205 308.1)
XYZxyz(21.8961, 12.4105, 52.2704)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AC2 #71C23A
analogous
#473AC2 #8B3AC2 #C23AB5
triadic
#8B3AC2 #C28B3A #3AC28B
tetradic
#8B3AC2 #C2473A #71C23A #3AB5C2
square
#8B3AC2 #C2473A #71C23A #3AB5C2
split-complementary
#8B3AC2 #B5C23A #3AC247
monochromatic
#471E64 #692C93 #8B3AC2 #A767D2 #C297E0

Accessibility & contrast

On white

6.03
#8B3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8B3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AC2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AC2#FFFFFF#000000##FFFFFF
##8B3AC21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1664BF
Tritanopia (blue-blind)
#82597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3ac2;
/* rgb */ color: rgb(139, 58, 194);
/* oklch */ color: oklch(52.4% 0.205 308.1);
Tailwind
colors: {
  custom: {
    50: '#b177d5',
    500: '#8b3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ac2;
$custom-light: #b177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ac2",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 275.735,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.20467,
    "h": 308.1
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#8B3AC2
secondary
#A6CB8D
accent
#DD4A86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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