#8A73D8#8A73D8

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

Color values

HEX#8A73D8
RGBrgb(138, 115, 216)
HSLhsl(254, 56%, 65%)
HSVhsv(254, 47%, 85%)
CMYKcmyk(36.1%, 46.8%, 0%, 15.3%)
CIE-LABlab(54.68, 31.96, -48.92)
CIE-LCHlch(54.68, 58.43, 303.16°)
OKLaboklab(62.22% 0.0557 -0.138)
OKLCHoklch(62.22% 0.149 292)
XYZxyz(29.0034, 22.6219, 67.7908)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73D8 #C1D873
analogous
#738FD8 #8A73D8 #BC73D8
triadic
#8A73D8 #D88A73 #73D88A
tetradic
#8A73D8 #D8738F #C1D873 #73D8BC
square
#8A73D8 #D8738F #C1D873 #73D8BC
split-complementary
#8A73D8 #D8BC73 #8FD873
monochromatic
#482DA3 #6243CB #8A73D8 #B2A3E5 #DAD3F3

Accessibility & contrast

On white

3.80
#8A73D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A73D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73D8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73D8#FFFFFF#000000##000000
##8A73D81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DC
Deuteranopia (green-blind)
#5281D6
Tritanopia (blue-blind)
#77879B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a73d8;
/* rgb */ color: rgb(138, 115, 216);
/* oklch */ color: oklch(62.2% 0.149 292.0);
Tailwind
colors: {
  custom: {
    50: '#af9be4',
    500: '#8a73d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a73d8;
$custom-light: #af9be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73d8",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 216
  },
  "hsl": {
    "h": 253.663,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.14883,
    "h": 292
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#8A73D8
secondary
#DDE5C2
accent
#C4229F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A73D8

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

Preview Lab → · Contrast checker → · Palette generator →

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