#8A6CA5#8A6CA5

#8A6CA5 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.3% C 0.091 H 307.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A6CA5
RGBrgb(138, 108, 165)
HSLhsl(272, 24%, 54%)
HSVhsv(272, 35%, 65%)
CMYKcmyk(16.4%, 34.5%, 0%, 35.3%)
CIE-LABlab(50.51, 23.25, -26.19)
CIE-LCHlch(50.51, 35.02, 311.60°)
OKLaboklab(58.25% 0.0561 -0.0722)
OKLCHoklch(58.25% 0.091 307.9)
XYZxyz(22.6340, 18.8452, 38.0351)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA5 #87A56C
analogous
#6D6CA5 #8A6CA5 #A56CA3
triadic
#8A6CA5 #A58A6C #6CA58A
tetradic
#8A6CA5 #A56D6C #87A56C #6CA3A5
square
#8A6CA5 #A56D6C #87A56C #6CA3A5
split-complementary
#8A6CA5 #A3A56C #6CA56D
monochromatic
#4C395D #6B5083 #8A6CA5 #A892BC #C6B8D3

Accessibility & contrast

On white

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

On black

4.77
#8A6CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA5#FFFFFF#000000##000000
##8A6CA51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a6ca5;
/* rgb */ color: rgb(138, 108, 165);
/* oklch */ color: oklch(58.3% 0.091 307.9);
Tailwind
colors: {
  custom: {
    50: '#ad96c0',
    500: '#8a6ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca5;
$custom-light: #ad96c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca5",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 165
  },
  "hsl": {
    "h": 271.579,
    "s": 24.051,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.09143,
    "h": 307.9
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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