#866BB2#866BB2

#866BB2 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.3% C 0.110 H 300.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#866BB2
RGBrgb(134, 107, 178)
HSLhsl(263, 32%, 56%)
HSVhsv(263, 40%, 70%)
CMYKcmyk(24.7%, 39.9%, 0%, 30.2%)
CIE-LABlab(50.45, 25.71, -33.88)
CIE-LCHlch(50.45, 42.53, 307.20°)
OKLaboklab(58.31% 0.0557 -0.0943)
OKLCHoklch(58.31% 0.11 300.6)
XYZxyz(23.1233, 18.7980, 44.5210)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BB2 #97B26B
analogous
#6B73B2 #866BB2 #A96BB2
triadic
#866BB2 #B2866B #6BB286
tetradic
#866BB2 #B26B73 #97B26B #6BB2A9
square
#866BB2 #B26B73 #97B26B #6BB2A9
split-complementary
#866BB2 #B2A96B #73B26B
monochromatic
#4B386B #674D93 #866BB2 #A793C7 #C8BCDC

Accessibility & contrast

On white

4.41
#866BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#866BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BB2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BB2#FFFFFF#000000##000000
##866BB21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#7E7786
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866bb2;
/* rgb */ color: rgb(134, 107, 178);
/* oklch */ color: oklch(58.3% 0.110 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa95c9',
    500: '#866bb2',
    950: '#000000',
  },
}
SCSS
$custom: #866bb2;
$custom-light: #aa95c9;
$custom-dark: #000000;
JSON
{
  "hex": "#866bb2",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 262.817,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.10957,
    "h": 300.6
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#866BB2
secondary
#C0CBAE
accent
#C860A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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