#8A73BC#8A73BC

#8A73BC is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.7% C 0.111 H 297.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A73BC
RGBrgb(138, 115, 188)
HSLhsl(259, 35%, 59%)
HSVhsv(259, 39%, 74%)
CMYKcmyk(26.6%, 38.8%, 0%, 26.3%)
CIE-LABlab(53.27, 24.68, -35.20)
CIE-LCHlch(53.27, 42.99, 305.04°)
OKLaboklab(60.7% 0.0511 -0.0981)
OKLCHoklch(60.7% 0.111 297.5)
XYZxyz(25.6869, 21.2954, 50.3243)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BC #A5BC73
analogous
#7381BC #8A73BC #AF73BC
triadic
#8A73BC #BC8A73 #73BC8A
tetradic
#8A73BC #BC7381 #A5BC73 #73BCAF
square
#8A73BC #BC7381 #A5BC73 #73BCAF
split-complementary
#8A73BC #BCAF73 #81BC73
monochromatic
#4F3A7A #694EA4 #8A73BC #AD9CD0 #CFC6E4

Accessibility & contrast

On white

3.99
#8A73BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A73BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BC#FFFFFF#000000##000000
##8A73BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBF
Deuteranopia (green-blind)
#647EBA
Tritanopia (blue-blind)
#807F8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73bc;
/* rgb */ color: rgb(138, 115, 188);
/* oklch */ color: oklch(60.7% 0.111 297.5);
Tailwind
colors: {
  custom: {
    50: '#ae9bd0',
    500: '#8a73bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a73bc;
$custom-light: #ae9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73bc",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 258.904,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60696,
    "c": 0.11061,
    "h": 297.5
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

primary
#8A73BC
secondary
#CBD4B7
accent
#CB5CA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BC

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

Preview Lab → · Contrast checker → · Palette generator →

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