#866BB4#866BB4

#866BB4 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.4% C 0.112 H 300.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#866BB4
RGBrgb(134, 107, 180)
HSLhsl(262, 33%, 56%)
HSVhsv(262, 41%, 71%)
CMYKcmyk(25.6%, 40.6%, 0%, 29.4%)
CIE-LABlab(50.55, 26.21, -34.89)
CIE-LCHlch(50.55, 43.63, 306.92°)
OKLaboklab(58.41% 0.0561 -0.0973)
OKLCHoklch(58.41% 0.112 300)
XYZxyz(23.3256, 18.8789, 45.5863)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BB4 #99B46B
analogous
#6B75B4 #866BB4 #AB6BB4
triadic
#866BB4 #B4866B #6BB486
tetradic
#866BB4 #B46B75 #99B46B #6BB4AB
square
#866BB4 #B46B75 #99B46B #6BB4AB
split-complementary
#866BB4 #B4AB6B #75B46B
monochromatic
#4B376D #674C96 #866BB4 #A794C9 #C8BCDD

Accessibility & contrast

On white

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

On black

4.78
#866BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BB4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BB4#FFFFFF#000000##000000
##866BB41.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B7
Deuteranopia (green-blind)
#5D78B2
Tritanopia (blue-blind)
#7D7787
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866bb4;
/* rgb */ color: rgb(134, 107, 180);
/* oklch */ color: oklch(58.4% 0.112 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab95cb',
    500: '#866bb4',
    950: '#000000',
  },
}
SCSS
$custom: #866bb4;
$custom-light: #ab95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#866bb4",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 262.192,
    "s": 32.735,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.11229,
    "h": 300
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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