#8A73FE#8A73FE

#8A73FE is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.6% C 0.199 H 287.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A73FE
RGBrgb(138, 115, 254)
HSLhsl(250, 99%, 72%)
HSVhsv(250, 55%, 100%)
CMYKcmyk(45.7%, 54.7%, 0%, 0.4%)
CIE-LABlab(56.90, 42.44, -66.57)
CIE-LCHlch(56.90, 78.94, 302.52°)
OKLaboklab(64.59% 0.0583 -0.1898)
OKLCHoklch(64.59% 0.199 287.1)
XYZxyz(34.4962, 24.8191, 96.7197)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73FE #E7FE73
analogous
#73A2FE #8A73FE #D073FE
triadic
#8A73FE #FE8A73 #73FE8A
tetradic
#8A73FE #FE73A2 #E7FE73 #73FED0
square
#8A73FE #FE73A2 #E7FE73 #73FED0
split-complementary
#8A73FE #FED073 #A2FE73
monochromatic
#2A02F5 #5736FE #8A73FE #BDB0FE #E6E1FF

Accessibility & contrast

On white

3.52
#8A73FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A73FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73FE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73FE#FFFFFF#000000##000000
##8A73FE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#228CFF
Deuteranopia (green-blind)
#2185FB
Tritanopia (blue-blind)
#6492AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a73fe;
/* rgb */ color: rgb(138, 115, 254);
/* oklch */ color: oklch(64.6% 0.199 287.1);
Tailwind
colors: {
  custom: {
    50: '#b39cff',
    500: '#8a73fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a73fe;
$custom-light: #b39cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73fe",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 249.928,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.19856,
    "h": 287.1
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#8A73FE
secondary
#F1F7D4
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A73FE

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

Preview Lab → · Contrast checker → · Palette generator →

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