#8A6AAA#8A6AAA

#8A6AAA is a mid, moderate violet. Relative luminance 0.186; OKLCH L 58.1% C 0.102 H 306.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A6AAA
RGBrgb(138, 106, 170)
HSLhsl(270, 27%, 54%)
HSVhsv(270, 38%, 67%)
CMYKcmyk(18.8%, 37.6%, 0%, 33.3%)
CIE-LABlab(50.23, 25.59, -29.53)
CIE-LCHlch(50.23, 39.08, 310.91°)
OKLaboklab(58.12% 0.0604 -0.0817)
OKLCHoklch(58.12% 0.102 306.5)
XYZxyz(22.8895, 18.6138, 40.4094)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AAA #8AAA6A
analogous
#6A6AAA #8A6AAA #AA6AAA
triadic
#8A6AAA #AA8A6A #6AAA8A
tetradic
#8A6AAA #AA6A6A #8AAA6A #6AAAAA
square
#8A6AAA #AA6A6A #8AAA6A #6AAAAA
split-complementary
#8A6AAA #AAAA6A #6AAA6A
monochromatic
#4D3862 #6B4E89 #8A6AAA #A991C0 #C7B8D6

Accessibility & contrast

On white

4.45
#8A6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AAA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AAA#FFFFFF#000000##000000
##8A6AAA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#6378A8
Tritanopia (blue-blind)
#857482
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a6aaa;
/* rgb */ color: rgb(138, 106, 170);
/* oklch */ color: oklch(58.1% 0.102 306.5);
Tailwind
colors: {
  custom: {
    50: '#ad95c3',
    500: '#8a6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aaa;
$custom-light: #ad95c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aaa",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.10161,
    "h": 306.5
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#8A6AAA
secondary
#B8C6AA
accent
#C46494
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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