#866CB2#866CB2

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

Color values

HEX#866CB2
RGBrgb(134, 108, 178)
HSLhsl(262, 31%, 56%)
HSVhsv(262, 39%, 70%)
CMYKcmyk(24.7%, 39.3%, 0%, 30.2%)
CIE-LABlab(50.70, 25.12, -33.49)
CIE-LCHlch(50.70, 41.86, 306.87°)
OKLaboklab(58.5% 0.0543 -0.0932)
OKLCHoklch(58.5% 0.108 300.2)
XYZxyz(23.2282, 19.0077, 44.5560)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CB2 #98B26C
analogous
#6C75B2 #866CB2 #A96CB2
triadic
#866CB2 #B2866C #6CB286
tetradic
#866CB2 #B26C75 #98B26C #6CB2A9
square
#866CB2 #B26C75 #98B26C #6CB2A9
split-complementary
#866CB2 #B2A96C #75B26C
monochromatic
#4B386B #674D94 #866CB2 #A794C7 #C8BCDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866CB2#FFFFFF#000000##000000
##866CB21.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)
#5A78B5
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#7E7886
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866cb2;
/* rgb */ color: rgb(134, 108, 178);
/* oklch */ color: oklch(58.5% 0.108 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa96c9',
    500: '#866cb2',
    950: '#000000',
  },
}
SCSS
$custom: #866cb2;
$custom-light: #aa96c9;
$custom-dark: #000000;
JSON
{
  "hex": "#866cb2",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 262.286,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.10787,
    "h": 300.2
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#866CB2
secondary
#C1CBAE
accent
#C760A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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