#8A73B8#8A73B8

#8A73B8 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.5% C 0.105 H 298.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A73B8
RGBrgb(138, 115, 184)
HSLhsl(260, 33%, 59%)
HSVhsv(260, 38%, 72%)
CMYKcmyk(25%, 37.5%, 0%, 27.8%)
CIE-LABlab(53.09, 23.69, -33.19)
CIE-LCHlch(53.09, 40.78, 305.51°)
OKLaboklab(60.49% 0.0502 -0.0923)
OKLCHoklch(60.49% 0.105 298.6)
XYZxyz(25.2617, 21.1253, 48.0848)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73B8 #A1B873
analogous
#737EB8 #8A73B8 #AC73B8
triadic
#8A73B8 #B88A73 #73B88A
tetradic
#8A73B8 #B8737E #A1B873 #73B8AC
square
#8A73B8 #B8737E #A1B873 #73B8AC
split-complementary
#8A73B8 #B8AC73 #7EB873
monochromatic
#4F3B75 #6A509E #8A73B8 #AC9CCD #CEC4E1

Accessibility & contrast

On white

4.02
#8A73B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A73B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73B8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73B8#FFFFFF#000000##000000
##8A73B81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#817E8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73b8;
/* rgb */ color: rgb(138, 115, 184);
/* oklch */ color: oklch(60.5% 0.105 298.6);
Tailwind
colors: {
  custom: {
    50: '#ad9bcd',
    500: '#8a73b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a73b8;
$custom-light: #ad9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73b8",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 184
  },
  "hsl": {
    "h": 260,
    "s": 32.701,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.10509,
    "h": 298.6
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#8A73B8
secondary
#C8D1B6
accent
#C95FA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A73B8

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

Preview Lab → · Contrast checker → · Palette generator →

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