#866BB3#866BB3

#866BB3 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.4% C 0.111 H 300.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#866BB3
RGBrgb(134, 107, 179)
HSLhsl(263, 32%, 56%)
HSVhsv(263, 40%, 70%)
CMYKcmyk(25.1%, 40.2%, 0%, 29.8%)
CIE-LABlab(50.50, 25.96, -34.38)
CIE-LCHlch(50.50, 43.08, 307.05°)
OKLaboklab(58.36% 0.0559 -0.0958)
OKLCHoklch(58.36% 0.111 300.3)
XYZxyz(23.2241, 18.8383, 45.0517)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BB3 #98B36B
analogous
#6B74B3 #866BB3 #AA6BB3
triadic
#866BB3 #B3866B #6BB386
tetradic
#866BB3 #B36B74 #98B36B #6BB3AA
square
#866BB3 #B36B74 #98B36B #6BB3AA
split-complementary
#866BB3 #B3AA6B #74B36B
monochromatic
#4B386C #674C95 #866BB3 #A793C8 #C8BCDD

Accessibility & contrast

On white

4.40
#866BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#866BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BB3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BB3#FFFFFF#000000##000000
##866BB31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#7E7786
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866bb3;
/* rgb */ color: rgb(134, 107, 179);
/* oklch */ color: oklch(58.4% 0.111 300.3);
Tailwind
colors: {
  custom: {
    50: '#ab95ca',
    500: '#866bb3',
    950: '#000000',
  },
}
SCSS
$custom: #866bb3;
$custom-light: #ab95ca;
$custom-dark: #000000;
JSON
{
  "hex": "#866bb3",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 262.5,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.11093,
    "h": 300.3
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#866BB3
secondary
#C1CCAE
accent
#C85FA1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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