#8A6AA6#8A6AA6

#8A6AA6 is a mid, moderate violet. Relative luminance 0.185; OKLCH L 57.9% C 0.096 H 308.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A6AA6
RGBrgb(138, 106, 166)
HSLhsl(272, 25%, 53%)
HSVhsv(272, 36%, 65%)
CMYKcmyk(16.9%, 36.1%, 0%, 34.9%)
CIE-LABlab(50.05, 24.66, -27.47)
CIE-LCHlch(50.05, 36.92, 311.91°)
OKLaboklab(57.93% 0.0594 -0.0758)
OKLCHoklch(57.93% 0.096 308.1)
XYZxyz(22.5169, 18.4647, 38.4468)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AA6 #86A66A
analogous
#6C6AA6 #8A6AA6 #A66AA4
triadic
#8A6AA6 #A68A6A #6AA68A
tetradic
#8A6AA6 #A66C6A #86A66A #6AA4A6
square
#8A6AA6 #A66C6A #86A66A #6AA4A6
split-complementary
#8A6AA6 #A4A66A #6AA66C
monochromatic
#4C385E #6B4F84 #8A6AA6 #A890BD #C6B7D4

Accessibility & contrast

On white

4.47
#8A6AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A6AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AA6#FFFFFF#000000##000000
##8A6AA61.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A8
Deuteranopia (green-blind)
#6578A4
Tritanopia (blue-blind)
#867380
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a6aa6;
/* rgb */ color: rgb(138, 106, 166);
/* oklch */ color: oklch(57.9% 0.096 308.1);
Tailwind
colors: {
  custom: {
    50: '#ad95c0',
    500: '#8a6aa6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aa6;
$custom-light: #ad95c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aa6",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 166
  },
  "hsl": {
    "h": 272,
    "s": 25.21,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.09634,
    "h": 308.1
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#8A6AA6
secondary
#B5C3A9
accent
#C26691
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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