#8A6ABE#8A6ABE

#8A6ABE is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.2% C 0.128 H 300.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A6ABE
RGBrgb(138, 106, 190)
HSLhsl(263, 39%, 58%)
HSVhsv(263, 44%, 75%)
CMYKcmyk(27.4%, 44.2%, 0%, 25.5%)
CIE-LABlab(51.19, 30.46, -39.63)
CIE-LCHlch(51.19, 49.98, 307.54°)
OKLaboklab(59.15% 0.0643 -0.1109)
OKLCHoklch(59.15% 0.128 300.1)
XYZxyz(24.9274, 19.4289, 51.1421)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ABE #9EBE6A
analogous
#6A74BE #8A6ABE #B46ABE
triadic
#8A6ABE #BE8A6A #6ABE8A
tetradic
#8A6ABE #BE6A74 #9EBE6A #6ABEB4
square
#8A6ABE #BE6A74 #9EBE6A #6ABEB4
split-complementary
#8A6ABE #BEB46A #74BE6A
monochromatic
#4F3579 #6A47A3 #8A6ABE #AB95D1 #CDBFE3

Accessibility & contrast

On white

4.30
#8A6ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A6ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ABE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ABE#FFFFFF#000000##000000
##8A6ABE1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#80798B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6abe;
/* rgb */ color: rgb(138, 106, 190);
/* oklch */ color: oklch(59.2% 0.128 300.1);
Tailwind
colors: {
  custom: {
    50: '#ae95d2',
    500: '#8a6abe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6abe;
$custom-light: #ae95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6abe",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 262.857,
    "s": 39.252,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.12819,
    "h": 300.1
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#8A6ABE
secondary
#C6D3B1
accent
#CF59A2
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A6ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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