#8A6AAE#8A6AAE

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

Color values

HEX#8A6AAE
RGBrgb(138, 106, 174)
HSLhsl(268, 30%, 55%)
HSVhsv(268, 39%, 68%)
CMYKcmyk(20.7%, 39.1%, 0%, 31.8%)
CIE-LABlab(50.41, 26.54, -31.58)
CIE-LCHlch(50.41, 41.25, 310.05°)
OKLaboklab(58.32% 0.0613 -0.0876)
OKLCHoklch(58.32% 0.107 305)
XYZxyz(23.2737, 18.7674, 42.4326)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AAE #8EAE6A
analogous
#6A6CAE #8A6AAE #AC6AAE
triadic
#8A6AAE #AE8A6A #6AAE8A
tetradic
#8A6AAE #AE6A6C #8EAE6A #6AAEAC
square
#8A6AAE #AE6A6C #8EAE6A #6AAEAC
split-complementary
#8A6AAE #AEAC6A #6CAE6A
monochromatic
#4D3866 #6B4D8E #8A6AAE #A992C4 #C8B9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6AAE#FFFFFF#000000##000000
##8A6AAE1.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)
#5B77B1
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#847584
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6aae;
/* rgb */ color: rgb(138, 106, 174);
/* oklch */ color: oklch(58.3% 0.107 305.0);
Tailwind
colors: {
  custom: {
    50: '#ad95c6',
    500: '#8a6aae',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aae;
$custom-light: #ad95c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aae",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 174
  },
  "hsl": {
    "h": 268.235,
    "s": 29.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.10692,
    "h": 305
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#8A6AAE
secondary
#BBC8AC
accent
#C66297
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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