#8A73A2#8A73A2

#8A73A2 is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.5% C 0.075 H 306.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A73A2
RGBrgb(138, 115, 162)
HSLhsl(269, 20%, 54%)
HSVhsv(269, 29%, 64%)
CMYKcmyk(14.8%, 29%, 0%, 36.5%)
CIE-LABlab(52.15, 18.45, -21.91)
CIE-LCHlch(52.15, 28.64, 310.09°)
OKLaboklab(59.47% 0.0446 -0.06)
OKLCHoklch(59.47% 0.075 306.6)
XYZxyz(23.1323, 20.2735, 36.8699)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73A2 #8BA273
analogous
#7374A2 #8A73A2 #A273A2
triadic
#8A73A2 #A28A73 #73A28A
tetradic
#8A73A2 #A27374 #8BA273 #73A2A2
square
#8A73A2 #A27374 #8BA273 #73A2A2
split-complementary
#8A73A2 #A2A273 #74A273
monochromatic
#4D3E5D #6B5682 #8A73A2 #A998BA #C7BDD3

Accessibility & contrast

On white

4.15
#8A73A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A73A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73A2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73A2#FFFFFF#000000##000000
##8A73A21.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#877A84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a73a2;
/* rgb */ color: rgb(138, 115, 162);
/* oklch */ color: oklch(59.5% 0.075 306.6);
Tailwind
colors: {
  custom: {
    50: '#ac9bbd',
    500: '#8a73a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a73a2;
$custom-light: #ac9bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73a2",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 162
  },
  "hsl": {
    "h": 269.362,
    "s": 20.172,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.07476,
    "h": 306.6
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#8A73A2
secondary
#B9C2AE
accent
#BD6B95
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A73A2

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

Preview Lab → · Contrast checker → · Palette generator →

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