#8A6AB3#8A6AB3

#8A6AB3 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.6% C 0.114 H 303.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A6AB3
RGBrgb(138, 106, 179)
HSLhsl(266, 32%, 56%)
HSVhsv(266, 41%, 70%)
CMYKcmyk(22.9%, 40.8%, 0%, 29.8%)
CIE-LABlab(50.65, 27.74, -34.12)
CIE-LCHlch(50.65, 43.97, 309.12°)
OKLaboklab(58.57% 0.0623 -0.095)
OKLCHoklch(58.57% 0.114 303.3)
XYZxyz(23.7702, 18.9661, 45.0476)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AB3 #93B36A
analogous
#6A6EB3 #8A6AB3 #AE6AB3
triadic
#8A6AB3 #B38A6A #6AB38A
tetradic
#8A6AB3 #B36A6E #93B36A #6AB3AE
square
#8A6AB3 #B36A6E #93B36A #6AB3AE
split-complementary
#8A6AB3 #B3AE6A #6EB36A
monochromatic
#4E376C #6B4C94 #8A6AB3 #AA93C8 #CABBDC

Accessibility & contrast

On white

4.38
#8A6AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A6AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AB3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AB3#FFFFFF#000000##000000
##8A6AB31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#837686
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ab3;
/* rgb */ color: rgb(138, 106, 179);
/* oklch */ color: oklch(58.6% 0.114 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad95ca',
    500: '#8a6ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ab3;
$custom-light: #ad95ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ab3",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 179
  },
  "hsl": {
    "h": 266.301,
    "s": 32.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.11356,
    "h": 303.3
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#8A6AB3
secondary
#BECCAD
accent
#C95F9A
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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