#8A73BA#8A73BA

#8A73BA is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.6% C 0.108 H 298.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A73BA
RGBrgb(138, 115, 186)
HSLhsl(259, 34%, 59%)
HSVhsv(259, 38%, 73%)
CMYKcmyk(25.8%, 38.2%, 0%, 27.1%)
CIE-LABlab(53.18, 24.18, -34.20)
CIE-LCHlch(53.18, 41.88, 305.27°)
OKLaboklab(60.6% 0.0507 -0.0952)
OKLCHoklch(60.6% 0.108 298)
XYZxyz(25.4728, 21.2097, 49.1967)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BA #A3BA73
analogous
#7380BA #8A73BA #AE73BA
triadic
#8A73BA #BA8A73 #73BA8A
tetradic
#8A73BA #BA7380 #A3BA73 #73BAAE
square
#8A73BA #BA7380 #A3BA73 #73BAAE
split-complementary
#8A73BA #BAAE73 #80BA73
monochromatic
#4F3B78 #6A4FA1 #8A73BA #AC9CCE #CFC5E2

Accessibility & contrast

On white

4.01
#8A73BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A73BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BA#FFFFFF#000000##000000
##8A73BA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBD
Deuteranopia (green-blind)
#657EB8
Tritanopia (blue-blind)
#817F8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73ba;
/* rgb */ color: rgb(138, 115, 186);
/* oklch */ color: oklch(60.6% 0.108 298.0);
Tailwind
colors: {
  custom: {
    50: '#ad9bcf',
    500: '#8a73ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ba;
$custom-light: #ad9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ba",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 259.437,
    "s": 33.971,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.10784,
    "h": 298
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#8A73BA
secondary
#C9D2B6
accent
#CA5EA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BA

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

Preview Lab → · Contrast checker → · Palette generator →

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