#8A73FB#8A73FB

#8A73FB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.4% C 0.195 H 287.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A73FB
RGBrgb(138, 115, 251)
HSLhsl(250, 94%, 72%)
HSVhsv(250, 54%, 98%)
CMYKcmyk(45%, 54.2%, 0%, 1.6%)
CIE-LABlab(56.71, 41.59, -65.21)
CIE-LCHlch(56.71, 77.35, 302.53°)
OKLaboklab(64.39% 0.0582 -0.1858)
OKLCHoklch(64.39% 0.195 287.4)
XYZxyz(34.0195, 24.6284, 94.2093)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73FB #E4FB73
analogous
#73A0FB #8A73FB #CE73FB
triadic
#8A73FB #FB8A73 #73FB8A
tetradic
#8A73FB #FB73A0 #E4FB73 #73FBCE
square
#8A73FB #FB73A0 #E4FB73 #73FBCE
split-complementary
#8A73FB #FBCE73 #A0FB73
monochromatic
#2E07ED #5838F9 #8A73FB #BCAFFD #E6E1FE

Accessibility & contrast

On white

3.54
#8A73FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8A73FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73FB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73FB#FFFFFF#000000##000000
##8A73FB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#288BFF
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#6691AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a73fb;
/* rgb */ color: rgb(138, 115, 251);
/* oklch */ color: oklch(64.4% 0.195 287.4);
Tailwind
colors: {
  custom: {
    50: '#b39cfd',
    500: '#8a73fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a73fb;
$custom-light: #b39cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73fb",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 250.147,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.19474,
    "h": 287.4
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#8A73FB
secondary
#F0F6D4
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A73FB

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

Preview Lab → · Contrast checker → · Palette generator →

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