#866CAF#866CAF

#866CAF is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.3% C 0.104 H 301.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#866CAF
RGBrgb(134, 108, 175)
HSLhsl(263, 30%, 55%)
HSVhsv(263, 38%, 69%)
CMYKcmyk(23.4%, 38.3%, 0%, 31.4%)
CIE-LABlab(50.56, 24.38, -31.97)
CIE-LCHlch(50.56, 40.20, 307.33°)
OKLaboklab(58.35% 0.0536 -0.0888)
OKLCHoklch(58.35% 0.104 301.1)
XYZxyz(22.9302, 18.8886, 42.9869)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CAF #95AF6C
analogous
#6C73AF #866CAF #A76CAF
triadic
#866CAF #AF866C #6CAF86
tetradic
#866CAF #AF6C73 #95AF6C #6CAFA7
square
#866CAF #AF6C73 #95AF6C #6CAFA7
split-complementary
#866CAF #AFA76C #73AF6C
monochromatic
#4B3968 #684E90 #866CAF #A794C5 #C7BBDA

Accessibility & contrast

On white

4.40
#866CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#866CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CAF#FFFFFF#000000##000000
##866CAF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B2
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#7F7785
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866caf;
/* rgb */ color: rgb(134, 108, 175);
/* oklch */ color: oklch(58.3% 0.104 301.1);
Tailwind
colors: {
  custom: {
    50: '#aa96c7',
    500: '#866caf',
    950: '#000000',
  },
}
SCSS
$custom: #866caf;
$custom-light: #aa96c7;
$custom-dark: #000000;
JSON
{
  "hex": "#866caf",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 263.284,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.10376,
    "h": 301.1
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#866CAF
secondary
#BFC9AD
accent
#C6629F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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