#8A73CC#8A73CC

#8A73CC is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.5% C 0.133 H 294.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A73CC
RGBrgb(138, 115, 204)
HSLhsl(256, 47%, 63%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32.4%, 43.6%, 0%, 20%)
CIE-LABlab(54.05, 28.78, -43.11)
CIE-LCHlch(54.05, 51.84, 303.73°)
OKLaboklab(61.54% 0.054 -0.1211)
OKLCHoklch(61.54% 0.133 294)
XYZxyz(27.5083, 22.0239, 59.9168)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73CC #B5CC73
analogous
#7388CC #8A73CC #B773CC
triadic
#8A73CC #CC8A73 #73CC8A
tetradic
#8A73CC #CC7388 #B5CC73 #73CCB7
square
#8A73CC #CC7388 #B5CC73 #73CCB7
split-complementary
#8A73CC #CCB773 #88CC73
monochromatic
#4C3490 #6546BC #8A73CC #AFA0DC #D5CDED

Accessibility & contrast

On white

3.89
#8A73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73CC#FFFFFF#000000##000000
##8A73CC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#7B8396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a73cc;
/* rgb */ color: rgb(138, 115, 204);
/* oklch */ color: oklch(61.5% 0.133 294.0);
Tailwind
colors: {
  custom: {
    50: '#af9bdc',
    500: '#8a73cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a73cc;
$custom-light: #af9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73cc",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 255.506,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.13258,
    "h": 294
  },
  "luminance": 0.22024
}

Semantic roles & 50–950 ramp

primary
#8A73CC
secondary
#D5DEBD
accent
#BA2C95
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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