#866FBF#866FBF

#866FBF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.7% C 0.121 H 295.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#866FBF
RGBrgb(134, 111, 191)
HSLhsl(257, 38%, 59%)
HSVhsv(257, 42%, 75%)
CMYKcmyk(29.8%, 41.9%, 0%, 25.1%)
CIE-LABlab(52.06, 26.64, -38.85)
CIE-LCHlch(52.06, 47.11, 304.44°)
OKLaboklab(59.74% 0.0525 -0.1088)
OKLCHoklch(59.74% 0.121 295.8)
XYZxyz(24.9176, 20.1985, 51.8660)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FBF #A8BF6F
analogous
#6F80BF #866FBF #AE6FBF
triadic
#866FBF #BF866F #6FBF86
tetradic
#866FBF #BF6F80 #A8BF6F #6FBFAE
square
#866FBF #BF6F80 #A8BF6F #6FBFAE
split-complementary
#866FBF #BFAE6F #80BF6F
monochromatic
#4B377C #654AA7 #866FBF #AA99D2 #CDC4E5

Accessibility & contrast

On white

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

On black

5.04
#866FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FBF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FBF#FFFFFF#000000##000000
##866FBF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#7A7D8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866fbf;
/* rgb */ color: rgb(134, 111, 191);
/* oklch */ color: oklch(59.7% 0.121 295.8);
Tailwind
colors: {
  custom: {
    50: '#ab98d2',
    500: '#866fbf',
    950: '#000000',
  },
}
SCSS
$custom: #866fbf;
$custom-light: #ab98d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866fbf",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 257.25,
    "s": 38.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.12077,
    "h": 295.8
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#866FBF
secondary
#CCD5B5
accent
#CE59AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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