#8A73F6#8A73F6

#8A73F6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.188 H 288.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A73F6
RGBrgb(138, 115, 246)
HSLhsl(251, 88%, 71%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.9%, 53.3%, 0%, 3.5%)
CIE-LABlab(56.40, 40.19, -62.94)
CIE-LCHlch(56.40, 74.68, 302.56°)
OKLaboklab(64.06% 0.0581 -0.1791)
OKLCHoklch(64.06% 0.188 288)
XYZxyz(33.2418, 24.3173, 90.1131)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73F6 #DFF673
analogous
#739DF6 #8A73F6 #CB73F6
triadic
#8A73F6 #F68A73 #73F68A
tetradic
#8A73F6 #F6739D #DFF673 #73F6CB
square
#8A73F6 #F6739D #DFF673 #73F6CB
split-complementary
#8A73F6 #F6CB73 #9DF673
monochromatic
#330EE0 #5A39F2 #8A73F6 #BAADFA #E7E2FD

Accessibility & contrast

On white

3.58
#8A73F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8A73F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73F6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73F6#FFFFFF#000000##000000
##8A73F61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFA
Deuteranopia (green-blind)
#3184F3
Tritanopia (blue-blind)
#698FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a73f6;
/* rgb */ color: rgb(138, 115, 246);
/* oklch */ color: oklch(64.1% 0.188 288.0);
Tailwind
colors: {
  custom: {
    50: '#b29cfa',
    500: '#8a73f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a73f6;
$custom-light: #b29cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73f6",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 250.534,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.18832,
    "h": 288
  },
  "luminance": 0.24319
}

Semantic roles & 50–950 ramp

primary
#8A73F6
secondary
#EEF4D1
accent
#E401BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73F6

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

Preview Lab → · Contrast checker → · Palette generator →

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