#866FBE#866FBE

#866FBE is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.7% C 0.119 H 296.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#866FBE
RGBrgb(134, 111, 190)
HSLhsl(257, 38%, 59%)
HSVhsv(257, 42%, 75%)
CMYKcmyk(29.5%, 41.6%, 0%, 25.5%)
CIE-LABlab(52.01, 26.38, -38.35)
CIE-LCHlch(52.01, 46.55, 304.52°)
OKLaboklab(59.68% 0.0523 -0.1073)
OKLCHoklch(59.68% 0.119 296)
XYZxyz(24.8080, 20.1546, 51.2884)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FBE #A7BE6F
analogous
#6F80BE #866FBE #AE6FBE
triadic
#866FBE #BE866F #6FBE86
tetradic
#866FBE #BE6F80 #A7BE6F #6FBEAE
square
#866FBE #BE6F80 #A7BE6F #6FBEAE
split-complementary
#866FBE #BEAE6F #80BE6F
monochromatic
#4B387B #654BA5 #866FBE #A999D1 #CDC3E4

Accessibility & contrast

On white

4.17
#866FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#866FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FBE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FBE#FFFFFF#000000##000000
##866FBE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC1
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#7A7D8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866fbe;
/* rgb */ color: rgb(134, 111, 190);
/* oklch */ color: oklch(59.7% 0.119 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab98d2',
    500: '#866fbe',
    950: '#000000',
  },
}
SCSS
$custom: #866fbe;
$custom-light: #ab98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866fbe",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 257.468,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.11939,
    "h": 296
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#866FBE
secondary
#CBD4B5
accent
#CE5AAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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