#8A6CA4#8A6CA4

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

Color values

HEX#8A6CA4
RGBrgb(138, 108, 164)
HSLhsl(272, 24%, 53%)
HSVhsv(272, 34%, 64%)
CMYKcmyk(15.9%, 34.1%, 0%, 35.7%)
CIE-LABlab(50.46, 23.02, -25.67)
CIE-LCHlch(50.46, 34.48, 311.89°)
OKLaboklab(58.21% 0.0559 -0.0707)
OKLCHoklch(58.21% 0.09 308.3)
XYZxyz(22.5434, 18.8089, 37.5576)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CA4 #86A46C
analogous
#6E6CA4 #8A6CA4 #A46CA2
triadic
#8A6CA4 #A48A6C #6CA48A
tetradic
#8A6CA4 #A46E6C #86A46C #6CA2A4
square
#8A6CA4 #A46E6C #86A46C #6CA2A4
split-complementary
#8A6CA4 #A2A46C #6CA46E
monochromatic
#4C395C #6B5182 #8A6CA4 #A892BB #C6B8D3

Accessibility & contrast

On white

4.41
#8A6CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A6CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CA4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CA4#FFFFFF#000000##000000
##8A6CA41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A6
Deuteranopia (green-blind)
#6879A2
Tritanopia (blue-blind)
#877481
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6ca4;
/* rgb */ color: rgb(138, 108, 164);
/* oklch */ color: oklch(58.2% 0.090 308.3);
Tailwind
colors: {
  custom: {
    50: '#ad96bf',
    500: '#8a6ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ca4;
$custom-light: #ad96bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ca4",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 272.143,
    "s": 23.529,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.0901,
    "h": 308.3
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#8A6CA4
secondary
#B5C2AA
accent
#C06891
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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