#8A6FA0#8A6FA0

#8A6FA0 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.079 H 309.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A6FA0
RGBrgb(138, 111, 160)
HSLhsl(273, 21%, 53%)
HSVhsv(273, 31%, 63%)
CMYKcmyk(13.8%, 30.6%, 0%, 37.3%)
CIE-LABlab(51.05, 20.35, -22.43)
CIE-LCHlch(51.05, 30.28, 312.21°)
OKLaboklab(58.6% 0.0502 -0.0615)
OKLCHoklch(58.6% 0.079 309.2)
XYZxyz(22.5097, 19.3104, 35.7923)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FA0 #85A06F
analogous
#716FA0 #8A6FA0 #A06F9D
triadic
#8A6FA0 #A08A6F #6FA08A
tetradic
#8A6FA0 #A0716F #85A06F #6F9DA0
square
#8A6FA0 #A0716F #85A06F #6F9DA0
split-complementary
#8A6FA0 #9DA06F #6FA071
monochromatic
#4C3B5A #6B537E #8A6FA0 #A894B8 #C6B9D1

Accessibility & contrast

On white

4.32
#8A6FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A6FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FA0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FA0#FFFFFF#000000##000000
##8A6FA01.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6678A2
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#877681
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6fa0;
/* rgb */ color: rgb(138, 111, 160);
/* oklch */ color: oklch(58.6% 0.079 309.2);
Tailwind
colors: {
  custom: {
    50: '#ac98bc',
    500: '#8a6fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fa0;
$custom-light: #ac98bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fa0",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 160
  },
  "hsl": {
    "h": 273.061,
    "s": 20.502,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.07935,
    "h": 309.2
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#8A6FA0
secondary
#B4C0AB
accent
#BD6B90
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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