#8A73F5#8A73F5

#8A73F5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.187 H 288.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A73F5
RGBrgb(138, 115, 245)
HSLhsl(251, 87%, 71%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.7%, 53.1%, 0%, 3.9%)
CIE-LABlab(56.34, 39.91, -62.48)
CIE-LCHlch(56.34, 74.14, 302.57°)
OKLaboklab(64% 0.058 -0.1778)
OKLCHoklch(64% 0.187 288.1)
XYZxyz(33.0887, 24.2561, 89.3070)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73F5 #DEF573
analogous
#739DF5 #8A73F5 #CB73F5
triadic
#8A73F5 #F58A73 #73F58A
tetradic
#8A73F5 #F5739D #DEF573 #73F5CB
square
#8A73F5 #F5739D #DEF573 #73F5CB
split-complementary
#8A73F5 #F5CB73 #9DF573
monochromatic
#3410DE #5A3AF1 #8A73F5 #BAACF9 #E7E2FD

Accessibility & contrast

On white

3.59
#8A73F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A73F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73F5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73F5#FFFFFF#000000##000000
##8A73F51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AF9
Deuteranopia (green-blind)
#3384F2
Tritanopia (blue-blind)
#6A8FA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a73f5;
/* rgb */ color: rgb(138, 115, 245);
/* oklch */ color: oklch(64.0% 0.187 288.1);
Tailwind
colors: {
  custom: {
    50: '#b29cf9',
    500: '#8a73f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a73f5;
$custom-light: #b29cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73f5",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 250.615,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64,
    "c": 0.18703,
    "h": 288.1
  },
  "luminance": 0.24257
}

Semantic roles & 50–950 ramp

primary
#8A73F5
secondary
#EDF4D0
accent
#E302BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73F5

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

Preview Lab → · Contrast checker → · Palette generator →

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