#8A73AF#8A73AF

#8A73AF is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.1% C 0.093 H 301.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A73AF
RGBrgb(138, 115, 175)
HSLhsl(263, 27%, 57%)
HSVhsv(263, 34%, 69%)
CMYKcmyk(21.1%, 34.3%, 0%, 31.4%)
CIE-LABlab(52.69, 21.49, -28.62)
CIE-LCHlch(52.69, 35.79, 306.90°)
OKLaboklab(60.06% 0.0481 -0.0792)
OKLCHoklch(60.06% 0.093 301.3)
XYZxyz(24.3482, 20.7598, 43.2734)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73AF #98AF73
analogous
#737AAF #8A73AF #A873AF
triadic
#8A73AF #AF8A73 #73AF8A
tetradic
#8A73AF #AF737A #98AF73 #73AFA8
square
#8A73AF #AF737A #98AF73 #73AFA8
split-complementary
#8A73AF #AFA873 #7AAF73
monochromatic
#4E3D6B #6B5392 #8A73AF #AB9AC5 #CBC1DC

Accessibility & contrast

On white

4.08
#8A73AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A73AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73AF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73AF#FFFFFF#000000##000000
##8A73AF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB1
Deuteranopia (green-blind)
#6A7DAD
Tritanopia (blue-blind)
#847C89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a73af;
/* rgb */ color: rgb(138, 115, 175);
/* oklch */ color: oklch(60.1% 0.093 301.3);
Tailwind
colors: {
  custom: {
    50: '#ad9bc7',
    500: '#8a73af',
    950: '#000000',
  },
}
SCSS
$custom: #8a73af;
$custom-light: #ad9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73af",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 263,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.09263,
    "h": 301.3
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#8A73AF
secondary
#C2CBB3
accent
#C4649F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A73AF

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

Preview Lab → · Contrast checker → · Palette generator →

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