#8A73D2#8A73D2

#8A73D2 is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.9% C 0.141 H 293.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A73D2
RGBrgb(138, 115, 210)
HSLhsl(255, 51%, 64%)
HSVhsv(255, 45%, 82%)
CMYKcmyk(34.3%, 45.2%, 0%, 17.6%)
CIE-LABlab(54.36, 30.36, -46.03)
CIE-LCHlch(54.36, 55.14, 303.41°)
OKLaboklab(61.88% 0.0549 -0.1296)
OKLCHoklch(61.88% 0.141 293)
XYZxyz(28.2418, 22.3173, 63.7800)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73D2 #BBD273
analogous
#738BD2 #8A73D2 #B973D2
triadic
#8A73D2 #D28A73 #73D28A
tetradic
#8A73D2 #D2738B #BBD273 #73D2B9
square
#8A73D2 #D2738B #BBD273 #73D2B9
split-complementary
#8A73D2 #D2B973 #8BD273
monochromatic
#4A3199 #6345C3 #8A73D2 #B1A1E1 #D7D0F0

Accessibility & contrast

On white

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

On black

5.46
#8A73D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73D2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73D2#FFFFFF#000000##000000
##8A73D21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#798598
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a73d2;
/* rgb */ color: rgb(138, 115, 210);
/* oklch */ color: oklch(61.9% 0.141 293.0);
Tailwind
colors: {
  custom: {
    50: '#af9be0',
    500: '#8a73d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a73d2;
$custom-light: #af9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73d2",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 254.526,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.14073,
    "h": 293
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#8A73D2
secondary
#D9E1C0
accent
#BF279A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A73D2

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

Preview Lab → · Contrast checker → · Palette generator →

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