#8A6ABA#8A6ABA

#8A6ABA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 58.9% C 0.123 H 301.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A6ABA
RGBrgb(138, 106, 186)
HSLhsl(264, 37%, 57%)
HSVhsv(264, 43%, 73%)
CMYKcmyk(25.8%, 43%, 0%, 27.1%)
CIE-LABlab(50.99, 29.46, -37.64)
CIE-LCHlch(50.99, 47.80, 308.05°)
OKLaboklab(58.94% 0.0636 -0.1051)
OKLCHoklch(58.94% 0.123 301.2)
XYZxyz(24.4962, 19.2564, 48.8712)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ABA #9ABA6A
analogous
#6A72BA #8A6ABA #B26ABA
triadic
#8A6ABA #BA8A6A #6ABA8A
tetradic
#8A6ABA #BA6A72 #9ABA6A #6ABAB2
square
#8A6ABA #BA6A72 #9ABA6A #6ABAB2
split-complementary
#8A6ABA #BAB26A #72BA6A
monochromatic
#4F3674 #6B499E #8A6ABA #AB94CD #CCBEE1

Accessibility & contrast

On white

4.33
#8A6ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A6ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ABA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ABA#FFFFFF#000000##000000
##8A6ABA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#817889
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6aba;
/* rgb */ color: rgb(138, 106, 186);
/* oklch */ color: oklch(58.9% 0.123 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae95cf',
    500: '#8a6aba',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aba;
$custom-light: #ae95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aba",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 264,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.12287,
    "h": 301.2
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#8A6ABA
secondary
#C3D0B0
accent
#CD5B9F
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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