#866CBE#866CBE

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

Color values

HEX#866CBE
RGBrgb(134, 108, 190)
HSLhsl(259, 39%, 58%)
HSVhsv(259, 43%, 75%)
CMYKcmyk(29.5%, 43.2%, 0%, 25.5%)
CIE-LABlab(51.28, 28.15, -39.51)
CIE-LCHlch(51.28, 48.51, 305.47°)
OKLaboklab(59.13% 0.0565 -0.1107)
OKLCHoklch(59.13% 0.124 297.1)
XYZxyz(24.4861, 19.5109, 51.1812)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CBE #A4BE6C
analogous
#6C7BBE #866CBE #AF6CBE
triadic
#866CBE #BE866C #6CBE86
tetradic
#866CBE #BE6C7B #A4BE6C #6CBEAF
square
#866CBE #BE6C7B #A4BE6C #6CBEAF
split-complementary
#866CBE #BEAF6C #7BBE6C
monochromatic
#4B367A #6649A4 #866CBE #A996D1 #CCC1E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866CBE#FFFFFF#000000##000000
##866CBE1.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)
#547AC1
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#7A7B8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866cbe;
/* rgb */ color: rgb(134, 108, 190);
/* oklch */ color: oklch(59.1% 0.124 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab96d2',
    500: '#866cbe',
    950: '#000000',
  },
}
SCSS
$custom: #866cbe;
$custom-light: #ab96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866cbe",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 259.024,
    "s": 38.679,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.12427,
    "h": 297.1
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#866CBE
secondary
#C9D3B3
accent
#CF59A9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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