#866AAA#866AAA

#866AAA is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.7% C 0.100 H 303.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#866AAA
RGBrgb(134, 106, 170)
HSLhsl(266, 27%, 54%)
HSVhsv(266, 38%, 67%)
CMYKcmyk(21.2%, 37.6%, 0%, 33.3%)
CIE-LABlab(49.83, 24.35, -30.19)
CIE-LCHlch(49.83, 38.78, 308.89°)
OKLaboklab(57.72% 0.0555 -0.0837)
OKLCHoklch(57.72% 0.1 303.5)
XYZxyz(22.2397, 18.2787, 40.3789)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AAA #8EAA6A
analogous
#6A6EAA #866AAA #A66AAA
triadic
#866AAA #AA866A #6AAA86
tetradic
#866AAA #AA6A6E #8EAA6A #6AAAA6
square
#866AAA #AA6A6E #8EAA6A #6AAAA6
split-complementary
#866AAA #AAA66A #6EAA6A
monochromatic
#4A3862 #684E89 #866AAA #A691C0 #C5B8D6

Accessibility & contrast

On white

4.51
#866AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#866AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AAA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AAA#FFFFFF#000000##000000
##866AAA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AC
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#807482
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #866aaa;
/* rgb */ color: rgb(134, 106, 170);
/* oklch */ color: oklch(57.7% 0.100 303.5);
Tailwind
colors: {
  custom: {
    50: '#aa95c3',
    500: '#866aaa',
    950: '#000000',
  },
}
SCSS
$custom: #866aaa;
$custom-light: #aa95c3;
$custom-dark: #000000;
JSON
{
  "hex": "#866aaa",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 266.25,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57721,
    "c": 0.1004,
    "h": 303.5
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#866AAA
secondary
#BAC6AA
accent
#C4649A
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #866AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#866AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva