#8A3BBF#8A3BBF

#8A3BBF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 308.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A3BBF
RGBrgb(138, 59, 191)
HSLhsl(276, 53%, 49%)
HSVhsv(276, 69%, 75%)
CMYKcmyk(27.7%, 69.1%, 0%, 25.1%)
CIE-LABlab(41.68, 55.79, -55.39)
CIE-LCHlch(41.68, 78.62, 315.20°)
OKLaboklab(52.18% 0.1242 -0.1569)
OKLCHoklch(52.18% 0.2 308.4)
XYZxyz(21.4472, 12.2931, 50.5231)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BBF #70BF3B
analogous
#483BBF #8A3BBF #BF3BB2
triadic
#8A3BBF #BF8A3B #3BBF8A
tetradic
#8A3BBF #BF483B #70BF3B #3BB2BF
square
#8A3BBF #BF483B #70BF3B #3BB2BF
split-complementary
#8A3BBF #B2BF3B #3BBF48
monochromatic
#461E61 #682D90 #8A3BBF #A667D0 #C196DF

Accessibility & contrast

On white

6.07
#8A3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A3BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BBF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BBF#FFFFFF#000000##FFFFFF
##8A3BBF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#825879
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3bbf;
/* rgb */ color: rgb(138, 59, 191);
/* oklch */ color: oklch(52.2% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#b177d3',
    500: '#8a3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bbf;
$custom-light: #b177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bbf",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 275.909,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.20012,
    "h": 308.4
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#8A3BBF
secondary
#A5CA8C
accent
#DC4C86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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