#866DBE#866DBE

#866DBE is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.3% C 0.123 H 296.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#866DBE
RGBrgb(134, 109, 190)
HSLhsl(259, 38%, 59%)
HSVhsv(259, 43%, 75%)
CMYKcmyk(29.5%, 42.6%, 0%, 25.5%)
CIE-LABlab(51.52, 27.56, -39.12)
CIE-LCHlch(51.52, 47.86, 305.16°)
OKLaboklab(59.31% 0.0551 -0.1095)
OKLCHoklch(59.31% 0.123 296.7)
XYZxyz(24.5922, 19.7230, 51.2165)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DBE #A5BE6D
analogous
#6D7CBE #866DBE #AF6DBE
triadic
#866DBE #BE866D #6DBE86
tetradic
#866DBE #BE6D7C #A5BE6D #6DBEAF
square
#866DBE #BE6D7C #A5BE6D #6DBEAF
split-complementary
#866DBE #BEAF6D #7CBE6D
monochromatic
#4B367A #6549A5 #866DBE #A997D1 #CCC2E4

Accessibility & contrast

On white

4.25
#866DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#866DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DBE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DBE#FFFFFF#000000##000000
##866DBE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#7A7B8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866dbe;
/* rgb */ color: rgb(134, 109, 190);
/* oklch */ color: oklch(59.3% 0.123 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab97d2',
    500: '#866dbe',
    950: '#000000',
  },
}
SCSS
$custom: #866dbe;
$custom-light: #ab97d2;
$custom-dark: #000000;
JSON
{
  "hex": "#866dbe",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 258.519,
    "s": 38.389,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.12264,
    "h": 296.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#866DBE
secondary
#CAD3B3
accent
#CE59AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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