#8A73EB#8A73EB

#8A73EB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.174 H 289.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A73EB
RGBrgb(138, 115, 235)
HSLhsl(252, 75%, 69%)
HSVhsv(252, 51%, 92%)
CMYKcmyk(41.3%, 51.1%, 0%, 7.8%)
CIE-LABlab(55.75, 37.13, -57.88)
CIE-LCHlch(55.75, 68.77, 302.69°)
OKLaboklab(63.37% 0.0575 -0.1643)
OKLCHoklch(63.37% 0.174 289.3)
XYZxyz(31.6032, 23.6619, 81.4832)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73EB #D4EB73
analogous
#7398EB #8A73EB #C673EB
triadic
#8A73EB #EB8A73 #73EB8A
tetradic
#8A73EB #EB7398 #D4EB73 #73EBC6
square
#8A73EB #EB7398 #D4EB73 #73EBC6
split-complementary
#8A73EB #EBC673 #98EB73
monochromatic
#3D1CC7 #5D3DE3 #8A73EB #B7A9F3 #E4DEFA

Accessibility & contrast

On white

3.66
#8A73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73EB#FFFFFF#000000##000000
##8A73EB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#4083E8
Tritanopia (blue-blind)
#6E8CA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a73eb;
/* rgb */ color: rgb(138, 115, 235);
/* oklch */ color: oklch(63.4% 0.174 289.3);
Tailwind
colors: {
  custom: {
    50: '#b19cf2',
    500: '#8a73eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a73eb;
$custom-light: #b19cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73eb",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 251.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63365,
    "c": 0.17405,
    "h": 289.3
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#8A73EB
secondary
#E8EFCB
accent
#D70EB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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