#8A6CA6#8A6CA6

#8A6CA6 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.3% C 0.093 H 307.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A6CA6
RGBrgb(138, 108, 166)
HSLhsl(271, 25%, 54%)
HSVhsv(271, 35%, 65%)
CMYKcmyk(16.9%, 34.9%, 0%, 34.9%)
CIE-LABlab(50.55, 23.49, -26.71)
CIE-LCHlch(50.55, 35.56, 311.33°)
OKLaboklab(58.3% 0.0564 -0.0736)
OKLCHoklch(58.3% 0.093 307.4)
XYZxyz(22.7254, 18.8818, 38.5163)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA6 #88A66C
analogous
#6D6CA6 #8A6CA6 #A66CA5
triadic
#8A6CA6 #A68A6C #6CA68A
tetradic
#8A6CA6 #A66D6C #88A66C #6CA5A6
square
#8A6CA6 #A66D6C #88A66C #6CA5A6
split-complementary
#8A6CA6 #A5A66C #6CA66D
monochromatic
#4C395E #6B5085 #8A6CA6 #A892BD #C7B8D4

Accessibility & contrast

On white

4.40
#8A6CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A6CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA6#FFFFFF#000000##000000
##8A6CA61.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A8
Deuteranopia (green-blind)
#6779A4
Tritanopia (blue-blind)
#867481
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6ca6;
/* rgb */ color: rgb(138, 108, 166);
/* oklch */ color: oklch(58.3% 0.093 307.4);
Tailwind
colors: {
  custom: {
    50: '#ad96c0',
    500: '#8a6ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca6;
$custom-light: #ad96c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca6",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 166
  },
  "hsl": {
    "h": 271.034,
    "s": 24.576,
    "l": 53.725
  },
  "oklch": {
    "l": 0.583,
    "c": 0.09276,
    "h": 307.4
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#8A6CA6
secondary
#B6C3AA
accent
#C16792
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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