#8A73D4#8A73D4

#8A73D4 is a mid, vivid violet. Relative luminance 0.224; OKLCH L 62.0% C 0.143 H 292.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A73D4
RGBrgb(138, 115, 212)
HSLhsl(254, 53%, 64%)
HSVhsv(254, 46%, 83%)
CMYKcmyk(34.9%, 45.8%, 0%, 16.9%)
CIE-LABlab(54.47, 30.89, -46.99)
CIE-LCHlch(54.47, 56.24, 303.32°)
OKLaboklab(61.99% 0.0552 -0.1324)
OKLCHoklch(61.99% 0.143 292.6)
XYZxyz(28.4925, 22.4176, 65.1004)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73D4 #BDD473
analogous
#738DD4 #8A73D4 #BB73D4
triadic
#8A73D4 #D48A73 #73D48A
tetradic
#8A73D4 #D4738D #BDD473 #73D4BB
square
#8A73D4 #D4738D #BDD473 #73D4BB
split-complementary
#8A73D4 #D4BB73 #8DD473
monochromatic
#4A309D #6344C6 #8A73D4 #B1A2E2 #D8D1F1

Accessibility & contrast

On white

3.83
#8A73D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A73D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73D4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73D4#FFFFFF#000000##000000
##8A73D41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D8
Deuteranopia (green-blind)
#5581D2
Tritanopia (blue-blind)
#788699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a73d4;
/* rgb */ color: rgb(138, 115, 212);
/* oklch */ color: oklch(62.0% 0.143 292.6);
Tailwind
colors: {
  custom: {
    50: '#af9be2',
    500: '#8a73d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a73d4;
$custom-light: #af9be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73d4",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 212
  },
  "hsl": {
    "h": 254.227,
    "s": 53.005,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.14344,
    "h": 292.6
  },
  "luminance": 0.22418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A73D4

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

Preview Lab → · Contrast checker → · Palette generator →

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