#8A73B3#8A73B3

#8A73B3 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.2% C 0.098 H 300.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A73B3
RGBrgb(138, 115, 179)
HSLhsl(262, 30%, 58%)
HSVhsv(262, 36%, 70%)
CMYKcmyk(22.9%, 35.8%, 0%, 29.8%)
CIE-LABlab(52.86, 22.46, -30.66)
CIE-LCHlch(52.86, 38.01, 306.22°)
OKLaboklab(60.25% 0.0491 -0.085)
OKLCHoklch(60.25% 0.098 300)
XYZxyz(24.7469, 20.9193, 45.3732)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73B3 #9CB373
analogous
#737CB3 #8A73B3 #AA73B3
triadic
#8A73B3 #B38A73 #73B38A
tetradic
#8A73B3 #B3737C #9CB373 #73B3AA
square
#8A73B3 #B3737C #9CB373 #73B3AA
split-complementary
#8A73B3 #B3AA73 #7CB373
monochromatic
#4F3C6F #6B5297 #8A73B3 #AB9BC9 #CCC2DE

Accessibility & contrast

On white

4.05
#8A73B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A73B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73B3#FFFFFF#000000##000000
##8A73B31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#837D8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a73b3;
/* rgb */ color: rgb(138, 115, 179);
/* oklch */ color: oklch(60.2% 0.098 300.0);
Tailwind
colors: {
  custom: {
    50: '#ad9bca',
    500: '#8a73b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a73b3;
$custom-light: #ad9bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73b3",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 179
  },
  "hsl": {
    "h": 261.563,
    "s": 29.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.09816,
    "h": 300
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#8A73B3
secondary
#C5CEB4
accent
#C662A2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A73B3

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

Preview Lab → · Contrast checker → · Palette generator →

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