#8A73CF#8A73CF

#8A73CF is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.7% C 0.137 H 293.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A73CF
RGBrgb(138, 115, 207)
HSLhsl(255, 49%, 63%)
HSVhsv(255, 44%, 81%)
CMYKcmyk(33.3%, 44.4%, 0%, 18.8%)
CIE-LABlab(54.21, 29.57, -44.57)
CIE-LCHlch(54.21, 53.49, 303.56°)
OKLaboklab(61.71% 0.0545 -0.1253)
OKLCHoklch(61.71% 0.137 293.5)
XYZxyz(27.8716, 22.1692, 61.8300)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73CF #B8CF73
analogous
#738ACF #8A73CF #B873CF
triadic
#8A73CF #CF8A73 #73CF8A
tetradic
#8A73CF #CF738A #B8CF73 #73CFB8
square
#8A73CF #CF738A #B8CF73 #73CFB8
split-complementary
#8A73CF #CFB873 #8ACF73
monochromatic
#4B3395 #6445BF #8A73CF #B0A1DF #D6CEEE

Accessibility & contrast

On white

3.86
#8A73CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A73CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73CF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73CF#FFFFFF#000000##000000
##8A73CF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#7A8497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a73cf;
/* rgb */ color: rgb(138, 115, 207);
/* oklch */ color: oklch(61.7% 0.137 293.5);
Tailwind
colors: {
  custom: {
    50: '#af9bde',
    500: '#8a73cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a73cf;
$custom-light: #af9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73cf",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 255,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.13666,
    "h": 293.5
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#8A73CF
secondary
#D7DFBE
accent
#BC2997
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73CF

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

Preview Lab → · Contrast checker → · Palette generator →

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