#866FBB#866FBB

#866FBB is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.5% C 0.115 H 296.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#866FBB
RGBrgb(134, 111, 187)
HSLhsl(258, 36%, 58%)
HSVhsv(258, 41%, 73%)
CMYKcmyk(28.3%, 40.6%, 0%, 26.7%)
CIE-LABlab(51.87, 25.61, -36.86)
CIE-LCHlch(51.87, 44.88, 304.80°)
OKLaboklab(59.52% 0.0518 -0.103)
OKLCHoklch(59.52% 0.115 296.7)
XYZxyz(24.4835, 20.0248, 49.5793)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FBB #A4BB6F
analogous
#6F7EBB #866FBB #AC6FBB
triadic
#866FBB #BB866F #6FBB86
tetradic
#866FBB #BB6F7E #A4BB6F #6FBBAC
square
#866FBB #BB6F7E #A4BB6F #6FBBAC
split-complementary
#866FBB #BBAC6F #7EBB6F
monochromatic
#4B3877 #664CA1 #866FBB #A999CF #CCC2E2

Accessibility & contrast

On white

4.20
#866FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#866FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FBB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FBB#FFFFFF#000000##000000
##866FBB1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#7B7C8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866fbb;
/* rgb */ color: rgb(134, 111, 187);
/* oklch */ color: oklch(59.5% 0.115 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab98d0',
    500: '#866fbb',
    950: '#000000',
  },
}
SCSS
$custom: #866fbb;
$custom-light: #ab98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#866fbb",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 258.158,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.11526,
    "h": 296.7
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#866FBB
secondary
#C9D2B4
accent
#CC5CAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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