#866CDA#866CDA

#866CDA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.162 H 291.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#866CDA
RGBrgb(134, 108, 218)
HSLhsl(254, 60%, 64%)
HSVhsv(254, 50%, 85%)
CMYKcmyk(38.5%, 50.5%, 0%, 14.5%)
CIE-LABlab(52.79, 35.57, -53.08)
CIE-LCHlch(52.79, 63.90, 303.83°)
OKLaboklab(60.75% 0.0599 -0.1503)
OKLCHoklch(60.75% 0.162 291.7)
XYZxyz(27.8456, 20.8547, 68.8743)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CDA #C0DA6C
analogous
#6C89DA #866CDA #BD6CDA
triadic
#866CDA #DA866C #6CDA86
tetradic
#866CDA #DA6C89 #C0DA6C #6CDABD
square
#866CDA #DA6C89 #C0DA6C #6CDABD
split-complementary
#866CDA #DABD6C #89DA6C
monochromatic
#4629A3 #5E3BCE #866CDA #AE9DE6 #D6CEF3

Accessibility & contrast

On white

4.06
#866CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#866CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CDA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CDA#FFFFFF#000000##000000
##866CDA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#437CD7
Tritanopia (blue-blind)
#708299
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866cda;
/* rgb */ color: rgb(134, 108, 218);
/* oklch */ color: oklch(60.8% 0.162 291.7);
Tailwind
colors: {
  custom: {
    50: '#ad96e6',
    500: '#866cda',
    950: '#000000',
  },
}
SCSS
$custom: #866cda;
$custom-light: #ad96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#866cda",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 254.182,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.16184,
    "h": 291.7
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#866CDA
secondary
#DBE4BE
accent
#C71E9F
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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