#866CB1#866CB1

#866CB1 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.4% C 0.106 H 300.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#866CB1
RGBrgb(134, 108, 177)
HSLhsl(263, 31%, 56%)
HSVhsv(263, 39%, 69%)
CMYKcmyk(24.3%, 39%, 0%, 30.6%)
CIE-LABlab(50.65, 24.87, -32.98)
CIE-LCHlch(50.65, 41.31, 307.02°)
OKLaboklab(58.45% 0.0541 -0.0918)
OKLCHoklch(58.45% 0.107 300.5)
XYZxyz(23.1281, 18.9677, 44.0291)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CB1 #97B16C
analogous
#6C74B1 #866CB1 #A86CB1
triadic
#866CB1 #B1866C #6CB186
tetradic
#866CB1 #B16C74 #97B16C #6CB1A8
square
#866CB1 #B16C74 #97B16C #6CB1A8
split-complementary
#866CB1 #B1A86C #74B16C
monochromatic
#4B386A #674E92 #866CB1 #A794C6 #C8BCDB

Accessibility & contrast

On white

4.38
#866CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#866CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CB1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CB1#FFFFFF#000000##000000
##866CB11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B4
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#7E7786
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866cb1;
/* rgb */ color: rgb(134, 108, 177);
/* oklch */ color: oklch(58.4% 0.106 300.5);
Tailwind
colors: {
  custom: {
    50: '#aa96c8',
    500: '#866cb1',
    950: '#000000',
  },
}
SCSS
$custom: #866cb1;
$custom-light: #aa96c8;
$custom-dark: #000000;
JSON
{
  "hex": "#866cb1",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 262.609,
    "s": 30.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.1065,
    "h": 300.5
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#866CB1
secondary
#C0CBAE
accent
#C761A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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