#8A73B2#8A73B2

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

Color values

HEX#8A73B2
RGBrgb(138, 115, 178)
HSLhsl(262, 29%, 57%)
HSVhsv(262, 35%, 70%)
CMYKcmyk(22.5%, 35.4%, 0%, 30.2%)
CIE-LABlab(52.82, 22.22, -30.15)
CIE-LCHlch(52.82, 37.45, 306.38°)
OKLaboklab(60.2% 0.0488 -0.0835)
OKLCHoklch(60.2% 0.097 300.3)
XYZxyz(24.6461, 20.8790, 44.8425)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73B2 #9BB273
analogous
#737CB2 #8A73B2 #AA73B2
triadic
#8A73B2 #B28A73 #73B28A
tetradic
#8A73B2 #B2737C #9BB273 #73B2AA
square
#8A73B2 #B2737C #9BB273 #73B2AA
split-complementary
#8A73B2 #B2AA73 #7CB273
monochromatic
#4F3D6E #6B5296 #8A73B2 #AB9AC8 #CCC2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A73B2#FFFFFF#000000##000000
##8A73B21.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#687EB0
Tritanopia (blue-blind)
#837D8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a73b2;
/* rgb */ color: rgb(138, 115, 178);
/* oklch */ color: oklch(60.2% 0.097 300.3);
Tailwind
colors: {
  custom: {
    50: '#ad9bc9',
    500: '#8a73b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a73b2;
$custom-light: #ad9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73b2",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 261.905,
    "s": 29.032,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.09678,
    "h": 300.3
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#8A73B2
secondary
#C4CDB4
accent
#C562A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A73B2

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

Preview Lab → · Contrast checker → · Palette generator →

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