#866BAF#866BAF

#866BAF is a mid, moderate violet. Relative luminance 0.187; OKLCH L 58.2% C 0.105 H 301.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#866BAF
RGBrgb(134, 107, 175)
HSLhsl(264, 30%, 55%)
HSVhsv(264, 39%, 69%)
CMYKcmyk(23.4%, 38.9%, 0%, 31.4%)
CIE-LABlab(50.31, 24.97, -32.35)
CIE-LCHlch(50.31, 40.87, 307.66°)
OKLaboklab(58.16% 0.0551 -0.0899)
OKLCHoklch(58.16% 0.105 301.5)
XYZxyz(22.8254, 18.6788, 42.9520)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BAF #94AF6B
analogous
#6B72AF #866BAF #A86BAF
triadic
#866BAF #AF866B #6BAF86
tetradic
#866BAF #AF6B72 #94AF6B #6BAFA8
square
#866BAF #AF6B72 #94AF6B #6BAFA8
split-complementary
#866BAF #AFA86B #72AF6B
monochromatic
#4B3868 #684D8F #866BAF #A693C4 #C7BADA

Accessibility & contrast

On white

4.43
#866BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#866BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BAF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BAF#FFFFFF#000000##000000
##866BAF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#7F7685
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866baf;
/* rgb */ color: rgb(134, 107, 175);
/* oklch */ color: oklch(58.2% 0.105 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa95c7',
    500: '#866baf',
    950: '#000000',
  },
}
SCSS
$custom: #866baf;
$custom-light: #aa95c7;
$custom-dark: #000000;
JSON
{
  "hex": "#866baf",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 263.824,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.10547,
    "h": 301.5
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#866BAF
secondary
#BEC9AD
accent
#C6629E
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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