#866CD6#866CD6

#866CD6 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.157 H 292.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#866CD6
RGBrgb(134, 108, 214)
HSLhsl(255, 56%, 63%)
HSVhsv(255, 50%, 84%)
CMYKcmyk(37.4%, 49.5%, 0%, 16.1%)
CIE-LABlab(52.56, 34.49, -51.18)
CIE-LCHlch(52.56, 61.71, 303.97°)
OKLaboklab(60.51% 0.0596 -0.1448)
OKLCHoklch(60.51% 0.157 292.4)
XYZxyz(27.3285, 20.6478, 66.1509)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CD6 #BCD66C
analogous
#6C87D6 #866CD6 #BB6CD6
triadic
#866CD6 #D6866C #6CD686
tetradic
#866CD6 #D66C87 #BCD66C #6CD6BB
square
#866CD6 #D66C87 #BCD66C #6CD6BB
split-complementary
#866CD6 #D6BB6C #87D66C
monochromatic
#472C9C #5F3CC9 #866CD6 #AD9CE3 #D5CCF1

Accessibility & contrast

On white

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

On black

5.13
#866CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CD6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CD6#FFFFFF#000000##000000
##866CD61.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FDA
Deuteranopia (green-blind)
#477BD4
Tritanopia (blue-blind)
#728197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866cd6;
/* rgb */ color: rgb(134, 108, 214);
/* oklch */ color: oklch(60.5% 0.157 292.4);
Tailwind
colors: {
  custom: {
    50: '#ad96e3',
    500: '#866cd6',
    950: '#000000',
  },
}
SCSS
$custom: #866cd6;
$custom-light: #ad96e3;
$custom-dark: #000000;
JSON
{
  "hex": "#866cd6",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 254.717,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.15655,
    "h": 292.4
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#866CD6
secondary
#D9E2BC
accent
#C4229C
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #866CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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