#8A73BE#8A73BE

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

Color values

HEX#8A73BE
RGBrgb(138, 115, 190)
HSLhsl(258, 37%, 60%)
HSVhsv(258, 39%, 75%)
CMYKcmyk(27.4%, 39.5%, 0%, 25.5%)
CIE-LABlab(53.37, 25.19, -36.20)
CIE-LCHlch(53.37, 44.10, 304.83°)
OKLaboklab(60.8% 0.0515 -0.101)
OKLCHoklch(60.8% 0.113 297)
XYZxyz(25.9040, 21.3822, 51.4677)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73BE #A7BE73
analogous
#7382BE #8A73BE #AF73BE
triadic
#8A73BE #BE8A73 #73BE8A
tetradic
#8A73BE #BE7382 #A7BE73 #73BEAF
square
#8A73BE #BE7382 #A7BE73 #73BEAF
split-complementary
#8A73BE #BEAF73 #82BE73
monochromatic
#4E3A7D #694DA6 #8A73BE #AD9DD1 #D0C7E5

Accessibility & contrast

On white

3.98
#8A73BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A73BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73BE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73BE#FFFFFF#000000##000000
##8A73BE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#7F808F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a73be;
/* rgb */ color: rgb(138, 115, 190);
/* oklch */ color: oklch(60.8% 0.113 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae9bd2',
    500: '#8a73be',
    950: '#000000',
  },
}
SCSS
$custom: #8a73be;
$custom-light: #ae9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73be",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 258.4,
    "s": 36.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60798,
    "c": 0.11337,
    "h": 297
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#8A73BE
secondary
#CCD5B8
accent
#CD5BAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A73BE

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

Preview Lab → · Contrast checker → · Palette generator →

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