#8A3BB6#8A3BB6

#8A3BB6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.191 H 310.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB6
RGBrgb(138, 59, 182)
HSLhsl(279, 51%, 47%)
HSVhsv(279, 68%, 71%)
CMYKcmyk(24.2%, 67.6%, 0%, 28.6%)
CIE-LABlab(41.07, 53.79, -51.09)
CIE-LCHlch(41.07, 74.19, 316.48°)
OKLaboklab(51.55% 0.1252 -0.1443)
OKLCHoklch(51.55% 0.191 310.9)
XYZxyz(20.4871, 11.9091, 45.4663)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB6 #67B63B
analogous
#4D3BB6 #8A3BB6 #B63BA4
triadic
#8A3BB6 #B68A3B #3BB68A
tetradic
#8A3BB6 #B64D3B #67B63B #3BA4B6
square
#8A3BB6 #B64D3B #67B63B #3BA4B6
split-complementary
#8A3BB6 #A4B63B #3BB64D
monochromatic
#441D5A #672C88 #8A3BB6 #A662CC #C090DB

Accessibility & contrast

On white

6.21
#8A3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB6#FFFFFF#000000##FFFFFF
##8A3BB61.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2B62B3
Tritanopia (blue-blind)
#845574
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3bb6;
/* rgb */ color: rgb(138, 59, 182);
/* oklch */ color: oklch(51.6% 0.191 310.9);
Tailwind
colors: {
  custom: {
    50: '#b077cd',
    500: '#8a3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb6;
$custom-light: #b077cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb6",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 278.537,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.19098,
    "h": 310.9
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#8A3BB6
secondary
#9DC687
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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