#8A73EC#8A73EC

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

Color values

HEX#8A73EC
RGBrgb(138, 115, 236)
HSLhsl(251, 76%, 69%)
HSVhsv(251, 51%, 93%)
CMYKcmyk(41.5%, 51.3%, 0%, 7.5%)
CIE-LABlab(55.81, 37.41, -58.34)
CIE-LCHlch(55.81, 69.31, 302.67°)
OKLaboklab(63.43% 0.0576 -0.1656)
OKLCHoklch(63.43% 0.175 289.2)
XYZxyz(31.7481, 23.7198, 82.2462)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73EC #D5EC73
analogous
#7399EC #8A73EC #C773EC
triadic
#8A73EC #EC8A73 #73EC8A
tetradic
#8A73EC #EC7399 #D5EC73 #73ECC7
square
#8A73EC #EC7399 #D5EC73 #73ECC7
split-complementary
#8A73EC #ECC773 #99EC73
monochromatic
#3C1BC9 #5D3DE5 #8A73EC #B7A9F3 #E4DFFB

Accessibility & contrast

On white

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

On black

5.74
#8A73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73EC#FFFFFF#000000##000000
##8A73EC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#6E8CA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a73ec;
/* rgb */ color: rgb(138, 115, 236);
/* oklch */ color: oklch(63.4% 0.175 289.2);
Tailwind
colors: {
  custom: {
    50: '#b19cf3',
    500: '#8a73ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ec;
$custom-light: #b19cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ec",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 251.405,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63427,
    "c": 0.17535,
    "h": 289.2
  },
  "luminance": 0.23721
}

Semantic roles & 50–950 ramp

primary
#8A73EC
secondary
#E8EFCC
accent
#D80DB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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