#8A6CA3#8A6CA3

#8A6CA3 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.2% C 0.089 H 308.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A6CA3
RGBrgb(138, 108, 163)
HSLhsl(273, 23%, 53%)
HSVhsv(273, 34%, 64%)
CMYKcmyk(15.3%, 33.7%, 0%, 36.1%)
CIE-LABlab(50.42, 22.79, -25.15)
CIE-LCHlch(50.42, 33.94, 312.18°)
OKLaboklab(58.16% 0.0556 -0.0692)
OKLCHoklch(58.16% 0.089 308.8)
XYZxyz(22.4534, 18.7730, 37.0839)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA3 #85A36C
analogous
#6E6CA3 #8A6CA3 #A36CA1
triadic
#8A6CA3 #A38A6C #6CA38A
tetradic
#8A6CA3 #A36E6C #85A36C #6CA1A3
square
#8A6CA3 #A36E6C #85A36C #6CA1A3
split-complementary
#8A6CA3 #A1A36C #6CA36E
monochromatic
#4C395B #6B5181 #8A6CA3 #A892BB #C6B7D2

Accessibility & contrast

On white

4.42
#8A6CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A6CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA3#FFFFFF#000000##000000
##8A6CA31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A5
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#877480
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6ca3;
/* rgb */ color: rgb(138, 108, 163);
/* oklch */ color: oklch(58.2% 0.089 308.8);
Tailwind
colors: {
  custom: {
    50: '#ad96be',
    500: '#8a6ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca3;
$custom-light: #ad96be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca3",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 163
  },
  "hsl": {
    "h": 272.727,
    "s": 23.013,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.08878,
    "h": 308.8
  },
  "luminance": 0.18773
}

Semantic roles & 50–950 ramp

primary
#8A6CA3
secondary
#B4C1AA
accent
#C06890
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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