#8A73CB#8A73CB

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

Color values

HEX#8A73CB
RGBrgb(138, 115, 203)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 43%, 80%)
CMYKcmyk(32%, 43.3%, 0%, 20.4%)
CIE-LABlab(54.00, 28.52, -42.62)
CIE-LCHlch(54.00, 51.29, 303.79°)
OKLaboklab(61.49% 0.0539 -0.1196)
OKLCHoklch(61.49% 0.131 294.2)
XYZxyz(27.3887, 21.9761, 59.2871)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73CB #B4CB73
analogous
#7388CB #8A73CB #B673CB
triadic
#8A73CB #CB8A73 #73CB8A
tetradic
#8A73CB #CB7388 #B4CB73 #73CBB6
square
#8A73CB #CB7388 #B4CB73 #73CBB6
split-complementary
#8A73CB #CBB673 #88CB73
monochromatic
#4C358F #6546BA #8A73CB #AFA0DC #D5CCEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A73CB#FFFFFF#000000##000000
##8A73CB1.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)
#5882CE
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#7B8395
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a73cb;
/* rgb */ color: rgb(138, 115, 203);
/* oklch */ color: oklch(61.5% 0.131 294.2);
Tailwind
colors: {
  custom: {
    50: '#ae9bdb',
    500: '#8a73cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a73cb;
$custom-light: #ae9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73cb",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 255.682,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.13122,
    "h": 294.2
  },
  "luminance": 0.21977
}

Semantic roles & 50–950 ramp

primary
#8A73CB
secondary
#D5DDBD
accent
#B92C94
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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