#8A73EF#8A73EF

#8A73EF is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.6% C 0.179 H 288.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A73EF
RGBrgb(138, 115, 239)
HSLhsl(251, 79%, 69%)
HSVhsv(251, 52%, 94%)
CMYKcmyk(42.3%, 51.9%, 0%, 6.3%)
CIE-LABlab(55.98, 38.24, -59.73)
CIE-LCHlch(55.98, 70.92, 302.63°)
OKLaboklab(63.62% 0.0577 -0.1697)
OKLCHoklch(63.62% 0.179 288.8)
XYZxyz(32.1876, 23.8956, 84.5610)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73EF #D8EF73
analogous
#739AEF #8A73EF #C873EF
triadic
#8A73EF #EF8A73 #73EF8A
tetradic
#8A73EF #EF739A #D8EF73 #73EFC8
square
#8A73EF #EF739A #D8EF73 #73EFC8
split-complementary
#8A73EF #EFC873 #9AEF73
monochromatic
#3A18D0 #5C3CE9 #8A73EF #B8AAF5 #E6E1FC

Accessibility & contrast

On white

3.63
#8A73EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8A73EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73EF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73EF#FFFFFF#000000##000000
##8A73EF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#3B83EC
Tritanopia (blue-blind)
#6D8DA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a73ef;
/* rgb */ color: rgb(138, 115, 239);
/* oklch */ color: oklch(63.6% 0.179 288.8);
Tailwind
colors: {
  custom: {
    50: '#b19cf5',
    500: '#8a73ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ef;
$custom-light: #b19cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ef",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 251.129,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63616,
    "c": 0.17926,
    "h": 288.8
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

primary
#8A73EF
secondary
#EAF1CD
accent
#DC0AB5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73EF

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

Preview Lab → · Contrast checker → · Palette generator →

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