#8A3ABD#8A3ABD

#8A3ABD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.199 H 309.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A3ABD
RGBrgb(138, 58, 189)
HSLhsl(277, 53%, 48%)
HSVhsv(277, 69%, 74%)
CMYKcmyk(27%, 69.3%, 0%, 25.9%)
CIE-LABlab(41.38, 55.79, -54.70)
CIE-LCHlch(41.38, 78.13, 315.56°)
OKLaboklab(51.93% 0.1255 -0.1549)
OKLCHoklch(51.93% 0.199 309)
XYZxyz(21.1777, 12.1039, 49.3549)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ABD #6DBD3A
analogous
#483ABD #8A3ABD #BD3AAE
triadic
#8A3ABD #BD8A3A #3ABD8A
tetradic
#8A3ABD #BD483A #6DBD3A #3AAEBD
square
#8A3ABD #BD483A #6DBD3A #3AAEBD
split-complementary
#8A3ABD #AEBD3A #3ABD48
monochromatic
#461D5F #682C8E #8A3ABD #A665D0 #C193DE

Accessibility & contrast

On white

6.14
#8A3ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A3ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ABD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ABD#FFFFFF#000000##FFFFFF
##8A3ABD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#1F63BA
Tritanopia (blue-blind)
#825777
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3abd;
/* rgb */ color: rgb(138, 58, 189);
/* oklch */ color: oklch(51.9% 0.199 309.0);
Tailwind
colors: {
  custom: {
    50: '#b076d2',
    500: '#8a3abd',
    950: '#000000',
  },
}
SCSS
$custom: #8a3abd;
$custom-light: #b076d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3abd",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 276.641,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.19934,
    "h": 309
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#8A3ABD
secondary
#A2C98A
accent
#DC4B84
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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