#866BB7#866BB7

#866BB7 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.6% C 0.116 H 299.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#866BB7
RGBrgb(134, 107, 183)
HSLhsl(261, 35%, 57%)
HSVhsv(261, 42%, 72%)
CMYKcmyk(26.8%, 41.5%, 0%, 28.2%)
CIE-LABlab(50.69, 26.96, -36.40)
CIE-LCHlch(50.69, 45.29, 306.53°)
OKLaboklab(58.57% 0.0567 -0.1016)
OKLCHoklch(58.57% 0.116 299.2)
XYZxyz(23.6345, 19.0025, 47.2133)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BB7 #9CB76B
analogous
#6B76B7 #866BB7 #AC6BB7
triadic
#866BB7 #B7866B #6BB786
tetradic
#866BB7 #B76B76 #9CB76B #6BB7AC
square
#866BB7 #B76B76 #9CB76B #6BB7AC
split-complementary
#866BB7 #B7AC6B #76B76B
monochromatic
#4B3771 #674B9A #866BB7 #A894CB #C9BDDF

Accessibility & contrast

On white

4.37
#866BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#866BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BB7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BB7#FFFFFF#000000##000000
##866BB71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BA
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#7D7888
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866bb7;
/* rgb */ color: rgb(134, 107, 183);
/* oklch */ color: oklch(58.6% 0.116 299.2);
Tailwind
colors: {
  custom: {
    50: '#ab95cd',
    500: '#866bb7',
    950: '#000000',
  },
}
SCSS
$custom: #866bb7;
$custom-light: #ab95cd;
$custom-dark: #000000;
JSON
{
  "hex": "#866bb7",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 261.316,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.11638,
    "h": 299.2
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#866BB7
secondary
#C3CEAF
accent
#CB5DA4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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