#8A73EA#8A73EA

#8A73EA is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.173 H 289.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A73EA
RGBrgb(138, 115, 234)
HSLhsl(252, 74%, 68%)
HSVhsv(252, 51%, 92%)
CMYKcmyk(41%, 50.9%, 0%, 8.2%)
CIE-LABlab(55.69, 36.86, -57.41)
CIE-LCHlch(55.69, 68.23, 302.70°)
OKLaboklab(63.3% 0.0574 -0.1629)
OKLCHoklch(63.3% 0.173 289.4)
XYZxyz(31.4591, 23.6042, 80.7245)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73EA #D3EA73
analogous
#7397EA #8A73EA #C673EA
triadic
#8A73EA #EA8A73 #73EA8A
tetradic
#8A73EA #EA7397 #D3EA73 #73EAC6
square
#8A73EA #EA7397 #D3EA73 #73EAC6
split-complementary
#8A73EA #EAC673 #97EA73
monochromatic
#3E1EC5 #5E3EE2 #8A73EA #B6A8F2 #E3DDFA

Accessibility & contrast

On white

3.67
#8A73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73EA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73EA#FFFFFF#000000##000000
##8A73EA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#4183E7
Tritanopia (blue-blind)
#6F8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a73ea;
/* rgb */ color: rgb(138, 115, 234);
/* oklch */ color: oklch(63.3% 0.173 289.4);
Tailwind
colors: {
  custom: {
    50: '#b19cf1',
    500: '#8a73ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ea;
$custom-light: #b19cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ea",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 251.597,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.17273,
    "h": 289.4
  },
  "luminance": 0.23605
}

Semantic roles & 50–950 ramp

primary
#8A73EA
secondary
#E7EECA
accent
#D60FB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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