#8A73D7#8A73D7

#8A73D7 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.2% C 0.147 H 292.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A73D7
RGBrgb(138, 115, 215)
HSLhsl(254, 56%, 65%)
HSVhsv(254, 47%, 84%)
CMYKcmyk(35.8%, 46.5%, 0%, 15.7%)
CIE-LABlab(54.63, 31.69, -48.44)
CIE-LCHlch(54.63, 57.88, 303.20°)
OKLaboklab(62.16% 0.0556 -0.1366)
OKLCHoklch(62.16% 0.147 292.1)
XYZxyz(28.8745, 22.5704, 67.1120)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73D7 #C0D773
analogous
#738ED7 #8A73D7 #BC73D7
triadic
#8A73D7 #D78A73 #73D78A
tetradic
#8A73D7 #D7738E #C0D773 #73D7BC
square
#8A73D7 #D7738E #C0D773 #73D7BC
split-complementary
#8A73D7 #D7BC73 #8ED773
monochromatic
#492EA1 #6243C9 #8A73D7 #B2A3E5 #DAD2F2

Accessibility & contrast

On white

3.81
#8A73D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A73D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73D7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73D7#FFFFFF#000000##000000
##8A73D71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#5381D5
Tritanopia (blue-blind)
#77869B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a73d7;
/* rgb */ color: rgb(138, 115, 215);
/* oklch */ color: oklch(62.2% 0.147 292.1);
Tailwind
colors: {
  custom: {
    50: '#af9be4',
    500: '#8a73d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a73d7;
$custom-light: #af9be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73d7",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 253.8,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.14748,
    "h": 292.1
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#8A73D7
secondary
#DCE4C2
accent
#C3229E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E15
muted
#807E84

Preview Lab

Preview with #8A73D7

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

Preview Lab → · Contrast checker → · Palette generator →

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