#866B97#866B97

#866B97 is a mid, moderate violet. Relative luminance 0.178; OKLCH L 57.0% C 0.073 H 312.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#866B97
RGBrgb(134, 107, 151)
HSLhsl(277, 17%, 51%)
HSVhsv(277, 29%, 59%)
CMYKcmyk(11.3%, 29.1%, 0%, 40.8%)
CIE-LABlab(49.27, 19.34, -19.90)
CIE-LCHlch(49.27, 27.75, 314.18°)
OKLaboklab(57.03% 0.0489 -0.0544)
OKLCHoklch(57.03% 0.073 312)
XYZxyz(20.6742, 17.8183, 31.6223)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866B97 #7C976B
analogous
#706B97 #866B97 #976B92
triadic
#866B97 #97866B #6B9786
tetradic
#866B97 #97706B #7C976B #6B9297
square
#866B97 #97706B #7C976B #6B9297
split-complementary
#866B97 #92976B #6B9770
monochromatic
#463850 #665174 #866B97 #A38FB0 #C1B3CA

Accessibility & contrast

On white

4.60
#866B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#866B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #866B97
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866B97#FFFFFF#000000##FFFFFF
##866B971.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647499
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#85717B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #866b97;
/* rgb */ color: rgb(134, 107, 151);
/* oklch */ color: oklch(57.0% 0.073 312.0);
Tailwind
colors: {
  custom: {
    50: '#a995b5',
    500: '#866b97',
    950: '#000000',
  },
}
SCSS
$custom: #866b97;
$custom-light: #a995b5;
$custom-dark: #000000;
JSON
{
  "hex": "#866b97",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 151
  },
  "hsl": {
    "h": 276.818,
    "s": 17.46,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.07314,
    "h": 312
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#866B97
secondary
#ADB9A5
accent
#BA6E8B
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #866B97

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

Preview Lab → · Contrast checker → · Palette generator →

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