#8A73F4#8A73F4

#8A73F4 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.9% C 0.186 H 288.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A73F4
RGBrgb(138, 115, 244)
HSLhsl(251, 85%, 70%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.4%, 52.9%, 0%, 4.3%)
CIE-LABlab(56.28, 39.63, -62.03)
CIE-LCHlch(56.28, 73.61, 302.58°)
OKLaboklab(63.93% 0.058 -0.1765)
OKLCHoklch(63.93% 0.186 288.2)
XYZxyz(32.9365, 24.1952, 88.5051)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73F4 #DDF473
analogous
#739CF4 #8A73F4 #CB73F4
triadic
#8A73F4 #F48A73 #73F48A
tetradic
#8A73F4 #F4739C #DDF473 #73F4CB
square
#8A73F4 #F4739C #DDF473 #73F4CB
split-complementary
#8A73F4 #F4CB73 #9CF473
monochromatic
#3511DB #5B3AF0 #8A73F4 #B9ACF8 #E7E3FD

Accessibility & contrast

On white

3.60
#8A73F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A73F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73F4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73F4#FFFFFF#000000##000000
##8A73F41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348AF8
Deuteranopia (green-blind)
#3484F1
Tritanopia (blue-blind)
#6A8FA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a73f4;
/* rgb */ color: rgb(138, 115, 244);
/* oklch */ color: oklch(63.9% 0.186 288.2);
Tailwind
colors: {
  custom: {
    50: '#b29cf8',
    500: '#8a73f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a73f4;
$custom-light: #b29cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73f4",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 250.698,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.18575,
    "h": 288.2
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#8A73F4
secondary
#EDF3D0
accent
#E204BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73F4

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

Preview Lab → · Contrast checker → · Palette generator →

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