#8A73BB#8A73BB

#8A73BB is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.6% C 0.109 H 297.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A73BB
RGBrgb(138, 115, 187)
HSLhsl(259, 35%, 59%)
HSVhsv(259, 39%, 73%)
CMYKcmyk(26.2%, 38.5%, 0%, 26.7%)
CIE-LABlab(53.22, 24.43, -34.70)
CIE-LCHlch(53.22, 42.44, 305.15°)
OKLaboklab(60.65% 0.0509 -0.0966)
OKLCHoklch(60.65% 0.109 297.8)
XYZxyz(25.5795, 21.2524, 49.7586)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BB #A4BB73
analogous
#7380BB #8A73BB #AE73BB
triadic
#8A73BB #BB8A73 #73BB8A
tetradic
#8A73BB #BB7380 #A4BB73 #73BBAE
square
#8A73BB #BB7380 #A4BB73 #73BBAE
split-complementary
#8A73BB #BBAE73 #80BB73
monochromatic
#4F3B79 #694FA2 #8A73BB #AC9CCF #CFC5E3

Accessibility & contrast

On white

4.00
#8A73BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BB#FFFFFF#000000##000000
##8A73BB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#807F8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73bb;
/* rgb */ color: rgb(138, 115, 187);
/* oklch */ color: oklch(60.6% 0.109 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad9bcf',
    500: '#8a73bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a73bb;
$custom-light: #ad9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73bb",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 259.167,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.10923,
    "h": 297.8
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#8A73BB
secondary
#CAD3B7
accent
#CB5DA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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