#866BBF#866BBF

#866BBF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.0% C 0.127 H 297.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#866BBF
RGBrgb(134, 107, 191)
HSLhsl(259, 40%, 58%)
HSVhsv(259, 44%, 75%)
CMYKcmyk(29.8%, 44%, 0%, 25.1%)
CIE-LABlab(51.09, 29.00, -40.38)
CIE-LCHlch(51.09, 49.72, 305.68°)
OKLaboklab(59% 0.0581 -0.1132)
OKLCHoklch(59% 0.127 297.2)
XYZxyz(24.4909, 19.3450, 51.7238)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BBF #A4BF6B
analogous
#6B7ABF #866BBF #B06BBF
triadic
#866BBF #BF866B #6BBF86
tetradic
#866BBF #BF6B7A #A4BF6B #6BBFB0
square
#866BBF #BF6B7A #A4BF6B #6BBFB0
split-complementary
#866BBF #BFB06B #7ABF6B
monochromatic
#4B357B #6647A5 #866BBF #A996D1 #CCC0E4

Accessibility & contrast

On white

4.31
#866BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#866BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BBF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BBF#FFFFFF#000000##000000
##866BBF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#7A7A8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866bbf;
/* rgb */ color: rgb(134, 107, 191);
/* oklch */ color: oklch(59.0% 0.127 297.2);
Tailwind
colors: {
  custom: {
    50: '#ab95d2',
    500: '#866bbf',
    950: '#000000',
  },
}
SCSS
$custom: #866bbf;
$custom-light: #ab95d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866bbf",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 259.286,
    "s": 39.623,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.12725,
    "h": 297.2
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#866BBF
secondary
#C9D4B2
accent
#D058A9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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