#8A73CA#8A73CA

#8A73CA is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.4% C 0.130 H 294.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A73CA
RGBrgb(138, 115, 202)
HSLhsl(256, 45%, 62%)
HSVhsv(256, 43%, 79%)
CMYKcmyk(31.7%, 43.1%, 0%, 20.8%)
CIE-LABlab(53.95, 28.26, -42.13)
CIE-LCHlch(53.95, 50.74, 303.85°)
OKLaboklab(61.43% 0.0537 -0.1182)
OKLCHoklch(61.43% 0.13 294.4)
XYZxyz(27.2700, 21.9286, 58.6616)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73CA #B3CA73
analogous
#7388CA #8A73CA #B673CA
triadic
#8A73CA #CA8A73 #73CA8A
tetradic
#8A73CA #CA7388 #B3CA73 #73CAB6
square
#8A73CA #CA7388 #B3CA73 #73CAB6
split-complementary
#8A73CA #CAB673 #88CA73
monochromatic
#4D358D #6547B9 #8A73CA #AF9FDB #D4CCEC

Accessibility & contrast

On white

3.90
#8A73CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A73CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73CA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73CA#FFFFFF#000000##000000
##8A73CA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#7C8395
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a73ca;
/* rgb */ color: rgb(138, 115, 202);
/* oklch */ color: oklch(61.4% 0.130 294.4);
Tailwind
colors: {
  custom: {
    50: '#ae9bda',
    500: '#8a73ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a73ca;
$custom-light: #ae9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73ca",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 255.862,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.12985,
    "h": 294.4
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#8A73CA
secondary
#D4DCBC
accent
#B82D94
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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