#8A73F7#8A73F7

#8A73F7 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.1% C 0.190 H 287.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A73F7
RGBrgb(138, 115, 247)
HSLhsl(250, 89%, 71%)
HSVhsv(250, 53%, 97%)
CMYKcmyk(44.1%, 53.4%, 0%, 3.1%)
CIE-LABlab(56.47, 40.47, -63.40)
CIE-LCHlch(56.47, 75.21, 302.55°)
OKLaboklab(64.13% 0.0581 -0.1805)
OKLCHoklch(64.13% 0.19 287.8)
XYZxyz(33.3957, 24.3788, 90.9236)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73F7 #E0F773
analogous
#739EF7 #8A73F7 #CC73F7
triadic
#8A73F7 #F78A73 #73F78A
tetradic
#8A73F7 #F7739E #E0F773 #73F7CC
square
#8A73F7 #F7739E #E0F773 #73F7CC
split-complementary
#8A73F7 #F7CC73 #9EF773
monochromatic
#320DE3 #5A39F4 #8A73F7 #BAADFA #E7E2FD

Accessibility & contrast

On white

3.57
#8A73F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A73F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73F7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73F7#FFFFFF#000000##000000
##8A73F71.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFC
Deuteranopia (green-blind)
#2F84F4
Tritanopia (blue-blind)
#6890AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a73f7;
/* rgb */ color: rgb(138, 115, 247);
/* oklch */ color: oklch(64.1% 0.190 287.8);
Tailwind
colors: {
  custom: {
    50: '#b29cfb',
    500: '#8a73f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a73f7;
$custom-light: #b29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73f7",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 250.455,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.18961,
    "h": 287.8
  },
  "luminance": 0.2438
}

Semantic roles & 50–950 ramp

primary
#8A73F7
secondary
#EEF4D1
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73F7

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

Preview Lab → · Contrast checker → · Palette generator →

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