#866EB4#866EB4

#866EB4 is a mid, moderate violet. Relative luminance 0.195; OKLCH L 59.0% C 0.107 H 298.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#866EB4
RGBrgb(134, 110, 180)
HSLhsl(261, 32%, 57%)
HSVhsv(261, 39%, 71%)
CMYKcmyk(25.6%, 38.9%, 0%, 29.4%)
CIE-LABlab(51.28, 24.44, -33.73)
CIE-LCHlch(51.28, 41.65, 305.93°)
OKLaboklab(58.98% 0.0518 -0.0939)
OKLCHoklch(58.98% 0.107 298.9)
XYZxyz(23.6438, 19.5153, 45.6924)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EB4 #9CB46E
analogous
#6E79B4 #866EB4 #A96EB4
triadic
#866EB4 #B4866E #6EB486
tetradic
#866EB4 #B46E79 #9CB46E #6EB4A9
square
#866EB4 #B46E79 #9CB46E #6EB4A9
split-complementary
#866EB4 #B4A96E #79B46E
monochromatic
#4B396E #674E97 #866EB4 #A896C9 #C9BFDE

Accessibility & contrast

On white

4.28
#866EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#866EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EB4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EB4#FFFFFF#000000##000000
##866EB41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB7
Deuteranopia (green-blind)
#607AB2
Tritanopia (blue-blind)
#7D7A88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866eb4;
/* rgb */ color: rgb(134, 110, 180);
/* oklch */ color: oklch(59.0% 0.107 298.9);
Tailwind
colors: {
  custom: {
    50: '#aa98ca',
    500: '#866eb4',
    950: '#000000',
  },
}
SCSS
$custom: #866eb4;
$custom-light: #aa98ca;
$custom-dark: #000000;
JSON
{
  "hex": "#866eb4",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 260.571,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.10724,
    "h": 298.9
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#866EB4
secondary
#C3CDB1
accent
#C860A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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