#8A73BD#8A73BD

#8A73BD is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.7% C 0.112 H 297.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A73BD
RGBrgb(138, 115, 189)
HSLhsl(259, 36%, 60%)
HSVhsv(259, 39%, 74%)
CMYKcmyk(27%, 39.2%, 0%, 25.9%)
CIE-LABlab(53.32, 24.94, -35.70)
CIE-LCHlch(53.32, 43.55, 304.93°)
OKLaboklab(60.75% 0.0513 -0.0995)
OKLCHoklch(60.75% 0.112 297.3)
XYZxyz(25.7951, 21.3386, 50.8940)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BD #A6BD73
analogous
#7381BD #8A73BD #AF73BD
triadic
#8A73BD #BD8A73 #73BD8A
tetradic
#8A73BD #BD7381 #A6BD73 #73BDAF
square
#8A73BD #BD7381 #A6BD73 #73BDAF
split-complementary
#8A73BD #BDAF73 #81BD73
monochromatic
#4E3A7B #694EA5 #8A73BD #AD9DD1 #D0C6E4

Accessibility & contrast

On white

3.99
#8A73BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A73BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BD#FFFFFF#000000##000000
##8A73BD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C0
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#80808F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73bd;
/* rgb */ color: rgb(138, 115, 189);
/* oklch */ color: oklch(60.7% 0.112 297.3);
Tailwind
colors: {
  custom: {
    50: '#ae9bd1',
    500: '#8a73bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a73bd;
$custom-light: #ae9bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73bd",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 258.649,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.112,
    "h": 297.3
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#8A73BD
secondary
#CBD4B8
accent
#CC5CA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BD

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

Preview Lab → · Contrast checker → · Palette generator →

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