#866BB5#866BB5

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

Color values

HEX#866BB5
RGBrgb(134, 107, 181)
HSLhsl(262, 33%, 56%)
HSVhsv(262, 41%, 71%)
CMYKcmyk(26%, 40.9%, 0%, 29%)
CIE-LABlab(50.59, 26.46, -35.39)
CIE-LCHlch(50.59, 44.19, 306.78°)
OKLaboklab(58.47% 0.0563 -0.0987)
OKLCHoklch(58.47% 0.114 299.7)
XYZxyz(23.4278, 18.9198, 46.1247)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BB5 #9AB56B
analogous
#6B75B5 #866BB5 #AB6BB5
triadic
#866BB5 #B5866B #6BB586
tetradic
#866BB5 #B56B75 #9AB56B #6BB5AB
square
#866BB5 #B56B75 #9AB56B #6BB5AB
split-complementary
#866BB5 #B5AB6B #75B56B
monochromatic
#4B376E #674C97 #866BB5 #A794C9 #C9BDDE

Accessibility & contrast

On white

4.39
#866BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##866BB5#FFFFFF#000000##000000
##866BB51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5778B8
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#7D7887
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866bb5;
/* rgb */ color: rgb(134, 107, 181);
/* oklch */ color: oklch(58.5% 0.114 299.7);
Tailwind
colors: {
  custom: {
    50: '#ab95cb',
    500: '#866bb5',
    950: '#000000',
  },
}
SCSS
$custom: #866bb5;
$custom-light: #ab95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#866bb5",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 261.892,
    "s": 33.333,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.11366,
    "h": 299.7
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#866BB5
secondary
#C2CDAF
accent
#C95EA2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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