#8A73BF#8A73BF

#8A73BF is a mid, moderate violet. Relative luminance 0.214; OKLCH L 60.8% C 0.115 H 296.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A73BF
RGBrgb(138, 115, 191)
HSLhsl(258, 37%, 60%)
HSVhsv(258, 40%, 75%)
CMYKcmyk(27.7%, 39.8%, 0%, 25.1%)
CIE-LABlab(53.41, 25.44, -36.70)
CIE-LCHlch(53.41, 44.65, 304.73°)
OKLaboklab(60.85% 0.0517 -0.1024)
OKLCHoklch(60.85% 0.115 296.8)
XYZxyz(26.0137, 21.4261, 52.0452)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BF #A8BF73
analogous
#7382BF #8A73BF #B073BF
triadic
#8A73BF #BF8A73 #73BF8A
tetradic
#8A73BF #BF7382 #A8BF73 #73BFB0
square
#8A73BF #BF7382 #A8BF73 #73BFB0
split-complementary
#8A73BF #BFB073 #82BF73
monochromatic
#4E3A7E #684DA8 #8A73BF #AD9DD2 #D0C7E5

Accessibility & contrast

On white

3.97
#8A73BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A73BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BF#FFFFFF#000000##000000
##8A73BF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#7F8090
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a73bf;
/* rgb */ color: rgb(138, 115, 191);
/* oklch */ color: oklch(60.8% 0.115 296.8);
Tailwind
colors: {
  custom: {
    50: '#ae9bd2',
    500: '#8a73bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a73bf;
$custom-light: #ae9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73bf",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 258.158,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.11475,
    "h": 296.8
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#8A73BF
secondary
#CDD6B8
accent
#CD5BAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BF

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

Preview Lab → · Contrast checker → · Palette generator →

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