#866BD2#866BD2

#866BD2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.153 H 293.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#866BD2
RGBrgb(134, 107, 210)
HSLhsl(256, 53%, 62%)
HSVhsv(256, 49%, 82%)
CMYKcmyk(36.2%, 49%, 0%, 17.6%)
CIE-LABlab(52.10, 33.99, -49.64)
CIE-LCHlch(52.10, 60.16, 304.40°)
OKLaboklab(60.09% 0.0605 -0.1403)
OKLCHoklch(60.09% 0.153 293.3)
XYZxyz(26.7190, 20.2363, 63.4585)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BD2 #B7D26B
analogous
#6B84D2 #866BD2 #BA6BD2
triadic
#866BD2 #D2866B #6BD286
tetradic
#866BD2 #D26B84 #B7D26B #6BD2BA
square
#866BD2 #D26B84 #B7D26B #6BD2BA
split-complementary
#866BD2 #D2BA6B #84D26B
monochromatic
#492D95 #603CC4 #866BD2 #AC9AE0 #D3C9EF

Accessibility & contrast

On white

4.16
#866BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#866BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BD2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BD2#FFFFFF#000000##000000
##866BD21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457DD6
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#737F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866bd2;
/* rgb */ color: rgb(134, 107, 210);
/* oklch */ color: oklch(60.1% 0.153 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad96e0',
    500: '#866bd2',
    950: '#000000',
  },
}
SCSS
$custom: #866bd2;
$custom-light: #ad96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#866bd2",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 255.728,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.15275,
    "h": 293.3
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#866BD2
secondary
#D5DFB9
accent
#C12598
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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