#866CBB#866CBB

#866CBB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.0% C 0.120 H 297.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#866CBB
RGBrgb(134, 108, 187)
HSLhsl(260, 37%, 58%)
HSVhsv(260, 42%, 73%)
CMYKcmyk(28.3%, 42.2%, 0%, 26.7%)
CIE-LABlab(51.13, 27.38, -38.01)
CIE-LCHlch(51.13, 46.85, 305.77°)
OKLaboklab(58.97% 0.056 -0.1063)
OKLCHoklch(58.97% 0.12 297.8)
XYZxyz(24.1616, 19.3811, 49.4721)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CBB #A1BB6C
analogous
#6C79BB #866CBB #AD6CBB
triadic
#866CBB #BB866C #6CBB86
tetradic
#866CBB #BB6C79 #A1BB6C #6CBBAD
square
#866CBB #BB6C79 #A1BB6C #6CBBAD
split-complementary
#866CBB #BBAD6C #79BB6C
monochromatic
#4B3776 #664AA0 #866CBB #A896CE #CBC0E2

Accessibility & contrast

On white

4.31
#866CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#866CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CBB#FFFFFF#000000##000000
##866CBB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#7B7A8A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866cbb;
/* rgb */ color: rgb(134, 108, 187);
/* oklch */ color: oklch(59.0% 0.120 297.8);
Tailwind
colors: {
  custom: {
    50: '#ab96d0',
    500: '#866cbb',
    950: '#000000',
  },
}
SCSS
$custom: #866cbb;
$custom-light: #ab96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#866cbb",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 259.747,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.12018,
    "h": 297.8
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#866CBB
secondary
#C7D1B2
accent
#CD5BA7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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