#866CBF#866CBF

#866CBF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.2% C 0.126 H 296.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#866CBF
RGBrgb(134, 108, 191)
HSLhsl(259, 39%, 59%)
HSVhsv(259, 43%, 75%)
CMYKcmyk(29.8%, 43.5%, 0%, 25.1%)
CIE-LABlab(51.33, 28.41, -40.00)
CIE-LCHlch(51.33, 49.06, 305.38°)
OKLaboklab(59.18% 0.0567 -0.1121)
OKLCHoklch(59.18% 0.126 296.8)
XYZxyz(24.5958, 19.5548, 51.7587)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CBF #A5BF6C
analogous
#6C7BBF #866CBF #AF6CBF
triadic
#866CBF #BF866C #6CBF86
tetradic
#866CBF #BF6C7B #A5BF6C #6CBFAF
square
#866CBF #BF6C7B #A5BF6C #6CBFAF
split-complementary
#866CBF #BFAF6C #7BBF6C
monochromatic
#4B367B #6548A6 #866CBF #A997D2 #CCC1E4

Accessibility & contrast

On white

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

On black

4.91
#866CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CBF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CBF#FFFFFF#000000##000000
##866CBF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#7A7B8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866cbf;
/* rgb */ color: rgb(134, 108, 191);
/* oklch */ color: oklch(59.2% 0.126 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab96d2',
    500: '#866cbf',
    950: '#000000',
  },
}
SCSS
$custom: #866cbf;
$custom-light: #ab96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866cbf",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 258.795,
    "s": 39.336,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.12563,
    "h": 296.8
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#866CBF
secondary
#CAD4B3
accent
#CF59AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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