#8A73E8#8A73E8

#8A73E8 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.170 H 289.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A73E8
RGBrgb(138, 115, 232)
HSLhsl(252, 72%, 68%)
HSVhsv(252, 50%, 91%)
CMYKcmyk(40.5%, 50.4%, 0%, 9%)
CIE-LABlab(55.57, 36.31, -56.48)
CIE-LCHlch(55.57, 67.14, 302.73°)
OKLaboklab(63.18% 0.0573 -0.1602)
OKLCHoklch(63.18% 0.17 289.7)
XYZxyz(31.1734, 23.4900, 79.2198)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73E8 #D1E873
analogous
#7396E8 #8A73E8 #C473E8
triadic
#8A73E8 #E88A73 #73E88A
tetradic
#8A73E8 #E87396 #D1E873 #73E8C4
square
#8A73E8 #E87396 #D1E873 #73E8C4
split-complementary
#8A73E8 #E8C473 #96E873
monochromatic
#3F20C1 #5E3EDF #8A73E8 #B6A8F1 #E2DCF9

Accessibility & contrast

On white

3.69
#8A73E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A73E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73E8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73E8#FFFFFF#000000##000000
##8A73E81.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#708BA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a73e8;
/* rgb */ color: rgb(138, 115, 232);
/* oklch */ color: oklch(63.2% 0.170 289.7);
Tailwind
colors: {
  custom: {
    50: '#b19bf0',
    500: '#8a73e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a73e8;
$custom-light: #b19bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73e8",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 251.795,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63178,
    "c": 0.17011,
    "h": 289.7
  },
  "luminance": 0.23491
}

Semantic roles & 50–950 ramp

primary
#8A73E8
secondary
#E6EDCA
accent
#D412AE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73E8

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

Preview Lab → · Contrast checker → · Palette generator →

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