#866CD8#866CD8

#866CD8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.6% C 0.159 H 292.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#866CD8
RGBrgb(134, 108, 216)
HSLhsl(254, 58%, 64%)
HSVhsv(254, 50%, 85%)
CMYKcmyk(38%, 50%, 0%, 15.3%)
CIE-LABlab(52.68, 35.03, -52.13)
CIE-LCHlch(52.68, 62.81, 303.90°)
OKLaboklab(60.63% 0.0598 -0.1475)
OKLCHoklch(60.63% 0.159 292.1)
XYZxyz(27.5854, 20.7506, 67.5043)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CD8 #BED86C
analogous
#6C88D8 #866CD8 #BC6CD8
triadic
#866CD8 #D8866C #6CD886
tetradic
#866CD8 #D86C88 #BED86C #6CD8BC
square
#866CD8 #D86C88 #BED86C #6CD8BC
split-complementary
#866CD8 #D8BC6C #88D86C
monochromatic
#462A9F #5E3CCB #866CD8 #AE9CE5 #D6CDF2

Accessibility & contrast

On white

4.08
#866CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#866CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CD8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CD8#FFFFFF#000000##000000
##866CD81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDC
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#718298
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866cd8;
/* rgb */ color: rgb(134, 108, 216);
/* oklch */ color: oklch(60.6% 0.159 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad96e4',
    500: '#866cd8',
    950: '#000000',
  },
}
SCSS
$custom: #866cd8;
$custom-light: #ad96e4;
$custom-dark: #000000;
JSON
{
  "hex": "#866cd8",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 254.444,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.1592,
    "h": 292.1
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#866CD8
secondary
#DAE3BD
accent
#C6209E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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