#8A73D3#8A73D3

#8A73D3 is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.9% C 0.142 H 292.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A73D3
RGBrgb(138, 115, 211)
HSLhsl(254, 52%, 64%)
HSVhsv(254, 45%, 83%)
CMYKcmyk(34.6%, 45.5%, 0%, 17.3%)
CIE-LABlab(54.41, 30.63, -46.51)
CIE-LCHlch(54.41, 55.69, 303.37°)
OKLaboklab(61.93% 0.0551 -0.131)
OKLCHoklch(61.93% 0.142 292.8)
XYZxyz(28.3668, 22.3673, 64.4382)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73D3 #BCD373
analogous
#738CD3 #8A73D3 #BA73D3
triadic
#8A73D3 #D38A73 #73D38A
tetradic
#8A73D3 #D3738C #BCD373 #73D3BA
square
#8A73D3 #D3738C #BCD373 #73D3BA
split-complementary
#8A73D3 #D3BA73 #8CD373
monochromatic
#4A319B #6344C4 #8A73D3 #B1A2E2 #D8D0F0

Accessibility & contrast

On white

3.84
#8A73D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A73D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73D3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73D3#FFFFFF#000000##000000
##8A73D31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D7
Deuteranopia (green-blind)
#5680D1
Tritanopia (blue-blind)
#788599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a73d3;
/* rgb */ color: rgb(138, 115, 211);
/* oklch */ color: oklch(61.9% 0.142 292.8);
Tailwind
colors: {
  custom: {
    50: '#af9be1',
    500: '#8a73d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a73d3;
$custom-light: #af9be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73d3",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 211
  },
  "hsl": {
    "h": 254.375,
    "s": 52.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.14209,
    "h": 292.8
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#8A73D3
secondary
#DAE2C0
accent
#C0269B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73D3

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

Preview Lab → · Contrast checker → · Palette generator →

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