#866FA5#866FA5

#866FA5 is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.4% C 0.085 H 303.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#866FA5
RGBrgb(134, 111, 165)
HSLhsl(266, 23%, 54%)
HSVhsv(266, 33%, 65%)
CMYKcmyk(18.8%, 32.7%, 0%, 35.3%)
CIE-LABlab(50.87, 20.19, -25.66)
CIE-LCHlch(50.87, 32.65, 308.20°)
OKLaboklab(58.44% 0.0467 -0.0707)
OKLCHoklch(58.44% 0.085 303.4)
XYZxyz(22.3061, 19.1539, 38.1119)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FA5 #8EA56F
analogous
#6F73A5 #866FA5 #A16FA5
triadic
#866FA5 #A5866F #6FA586
tetradic
#866FA5 #A56F73 #8EA56F #6FA5A1
square
#866FA5 #A56F73 #8EA56F #6FA5A1
split-complementary
#866FA5 #A5A16F #73A56F
monochromatic
#4A3B5F #685384 #866FA5 #A695BD #C5BAD4

Accessibility & contrast

On white

4.35
#866FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#866FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FA5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FA5#FFFFFF#000000##000000
##866FA51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#6879A3
Tritanopia (blue-blind)
#817783
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866fa5;
/* rgb */ color: rgb(134, 111, 165);
/* oklch */ color: oklch(58.4% 0.085 303.4);
Tailwind
colors: {
  custom: {
    50: '#aa98c0',
    500: '#866fa5',
    950: '#000000',
  },
}
SCSS
$custom: #866fa5;
$custom-light: #aa98c0;
$custom-dark: #000000;
JSON
{
  "hex": "#866fa5",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 265.556,
    "s": 23.077,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.08477,
    "h": 303.4
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#866FA5
secondary
#BAC3AC
accent
#C0689A
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #866FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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