#866CBD#866CBD

#866CBD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.1% C 0.123 H 297.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#866CBD
RGBrgb(134, 108, 189)
HSLhsl(259, 38%, 58%)
HSVhsv(259, 43%, 74%)
CMYKcmyk(29.1%, 42.9%, 0%, 25.9%)
CIE-LABlab(51.23, 27.89, -39.01)
CIE-LCHlch(51.23, 47.96, 305.57°)
OKLaboklab(59.08% 0.0564 -0.1092)
OKLCHoklch(59.08% 0.123 297.3)
XYZxyz(24.3772, 19.4673, 50.6075)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CBD #A3BD6C
analogous
#6C7ABD #866CBD #AE6CBD
triadic
#866CBD #BD866C #6CBD86
tetradic
#866CBD #BD6C7A #A3BD6C #6CBDAE
square
#866CBD #BD6C7A #A3BD6C #6CBDAE
split-complementary
#866CBD #BDAE6C #7ABD6C
monochromatic
#4B3678 #6649A3 #866CBD #A996D0 #CCC0E3

Accessibility & contrast

On white

4.29
#866CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#866CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CBD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CBD#FFFFFF#000000##000000
##866CBD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557AC0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#7B7A8B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866cbd;
/* rgb */ color: rgb(134, 108, 189);
/* oklch */ color: oklch(59.1% 0.123 297.3);
Tailwind
colors: {
  custom: {
    50: '#ab96d1',
    500: '#866cbd',
    950: '#000000',
  },
}
SCSS
$custom: #866cbd;
$custom-light: #ab96d1;
$custom-dark: #000000;
JSON
{
  "hex": "#866cbd",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 259.259,
    "s": 38.028,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.1229,
    "h": 297.3
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#866CBD
secondary
#C8D3B2
accent
#CE5AA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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