#866BDB#866BDB

#866BDB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.6% C 0.165 H 291.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#866BDB
RGBrgb(134, 107, 219)
HSLhsl(254, 61%, 64%)
HSVhsv(254, 51%, 86%)
CMYKcmyk(38.8%, 51.1%, 0%, 14.1%)
CIE-LABlab(52.62, 36.42, -53.92)
CIE-LCHlch(52.62, 65.07, 304.04°)
OKLaboklab(60.64% 0.0613 -0.1528)
OKLCHoklch(60.64% 0.165 291.8)
XYZxyz(27.8720, 20.6975, 69.5306)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BDB #C0DB6B
analogous
#6B88DB #866BDB #BE6BDB
triadic
#866BDB #DB866B #6BDB86
tetradic
#866BDB #DB6B88 #C0DB6B #6BDBBE
square
#866BDB #DB6B88 #C0DB6B #6BDBBE
split-complementary
#866BDB #DBBE6B #88DB6B
monochromatic
#4628A4 #5E3ACF #866BDB #AE9CE7 #D6CDF3

Accessibility & contrast

On white

4.09
#866BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#866BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BDB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BDB#FFFFFF#000000##000000
##866BDB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#708299
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866bdb;
/* rgb */ color: rgb(134, 107, 219);
/* oklch */ color: oklch(60.6% 0.165 291.8);
Tailwind
colors: {
  custom: {
    50: '#ad96e7',
    500: '#866bdb',
    950: '#000000',
  },
}
SCSS
$custom: #866bdb;
$custom-light: #ad96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#866bdb",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 254.464,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.16462,
    "h": 291.8
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#866BDB
secondary
#DBE5BD
accent
#C91D9F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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