#866D9C#866D9C

#866D9C is a mid, moderate violet. Relative luminance 0.184; OKLCH L 57.6% C 0.076 H 308.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#866D9C
RGBrgb(134, 109, 156)
HSLhsl(272, 19%, 52%)
HSVhsv(272, 30%, 61%)
CMYKcmyk(14.1%, 30.1%, 0%, 38.8%)
CIE-LABlab(49.98, 19.28, -21.75)
CIE-LCHlch(49.98, 29.07, 311.56°)
OKLaboklab(57.64% 0.0473 -0.0596)
OKLCHoklch(57.64% 0.076 308.4)
XYZxyz(21.2998, 18.4061, 33.8767)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D9C #839C6D
analogous
#6F6D9C #866D9C #9C6D9B
triadic
#866D9C #9C866D #6D9C86
tetradic
#866D9C #9C6F6D #839C6D #6D9B9C
square
#866D9C #9C6F6D #839C6D #6D9B9C
split-complementary
#866D9C #9B9C6D #6D9C6F
monochromatic
#483A55 #675279 #866D9C #A491B5 #C2B6CD

Accessibility & contrast

On white

4.49
#866D9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#866D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866D9C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866D9C#FFFFFF#000000##000000
##866D9C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#65769E
Deuteranopia (green-blind)
#6A779B
Tritanopia (blue-blind)
#83737E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #866d9c;
/* rgb */ color: rgb(134, 109, 156);
/* oklch */ color: oklch(57.6% 0.076 308.4);
Tailwind
colors: {
  custom: {
    50: '#aa97b9',
    500: '#866d9c',
    950: '#000000',
  },
}
SCSS
$custom: #866d9c;
$custom-light: #aa97b9;
$custom-dark: #000000;
JSON
{
  "hex": "#866d9c",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 156
  },
  "hsl": {
    "h": 271.915,
    "s": 19.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.07608,
    "h": 308.4
  },
  "luminance": 0.18406
}

Semantic roles & 50–950 ramp

primary
#866D9C
secondary
#B2BDA8
accent
#BC6C91
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D11
muted
#7F7E80

Preview Lab

Preview with #866D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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