#866FB1#866FB1

#866FB1 is a mid, moderate violet. Relative luminance 0.196; OKLCH L 59.0% C 0.101 H 299.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#866FB1
RGBrgb(134, 111, 177)
HSLhsl(261, 30%, 56%)
HSVhsv(261, 37%, 69%)
CMYKcmyk(24.3%, 37.3%, 0%, 30.6%)
CIE-LABlab(51.40, 23.10, -31.82)
CIE-LCHlch(51.40, 39.32, 305.98°)
OKLaboklab(59.01% 0.0497 -0.0884)
OKLCHoklch(59.01% 0.101 299.3)
XYZxyz(23.4500, 19.6114, 44.1364)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FB1 #9AB16F
analogous
#6F79B1 #866FB1 #A76FB1
triadic
#866FB1 #B1866F #6FB186
tetradic
#866FB1 #B16F79 #9AB16F #6FB1A7
square
#866FB1 #B16F79 #9AB16F #6FB1A7
split-complementary
#866FB1 #B1A76F #79B16F
monochromatic
#4B3A6B #675093 #866FB1 #A797C7 #C9BEDC

Accessibility & contrast

On white

4.27
#866FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#866FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FB1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FB1#FFFFFF#000000##000000
##866FB11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB4
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#7E7A88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866fb1;
/* rgb */ color: rgb(134, 111, 177);
/* oklch */ color: oklch(59.0% 0.101 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa98c8',
    500: '#866fb1',
    950: '#000000',
  },
}
SCSS
$custom: #866fb1;
$custom-light: #aa98c8;
$custom-dark: #000000;
JSON
{
  "hex": "#866fb1",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 260.909,
    "s": 29.73,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.1014,
    "h": 299.3
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#866FB1
secondary
#C2CBB0
accent
#C662A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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