#8A73B1#8A73B1

#8A73B1 is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.2% C 0.095 H 300.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A73B1
RGBrgb(138, 115, 177)
HSLhsl(262, 28%, 57%)
HSVhsv(262, 35%, 69%)
CMYKcmyk(22%, 35%, 0%, 30.6%)
CIE-LABlab(52.77, 21.97, -29.64)
CIE-LCHlch(52.77, 36.90, 306.55°)
OKLaboklab(60.15% 0.0486 -0.0821)
OKLCHoklch(60.15% 0.095 300.6)
XYZxyz(24.5461, 20.8390, 44.3156)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73B1 #9AB173
analogous
#737BB1 #8A73B1 #A973B1
triadic
#8A73B1 #B18A73 #73B18A
tetradic
#8A73B1 #B1737B #9AB173 #73B1A9
square
#8A73B1 #B1737B #9AB173 #73B1A9
split-complementary
#8A73B1 #B1A973 #7BB173
monochromatic
#4F3D6D #6B5394 #8A73B1 #AB9AC7 #CCC2DD

Accessibility & contrast

On white

4.06
#8A73B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A73B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73B1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73B1#FFFFFF#000000##000000
##8A73B11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB3
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#837D8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a73b1;
/* rgb */ color: rgb(138, 115, 177);
/* oklch */ color: oklch(60.2% 0.095 300.6);
Tailwind
colors: {
  custom: {
    50: '#ad9bc8',
    500: '#8a73b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a73b1;
$custom-light: #ad9bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73b1",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 177
  },
  "hsl": {
    "h": 262.258,
    "s": 28.44,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.0954,
    "h": 300.6
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#8A73B1
secondary
#C3CCB3
accent
#C563A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A73B1

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

Preview Lab → · Contrast checker → · Palette generator →

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