#866CC2#866CC2

#866CC2 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.4% C 0.130 H 296.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#866CC2
RGBrgb(134, 108, 194)
HSLhsl(258, 41%, 59%)
HSVhsv(258, 44%, 76%)
CMYKcmyk(30.9%, 44.3%, 0%, 23.9%)
CIE-LABlab(51.48, 29.18, -41.48)
CIE-LCHlch(51.48, 50.72, 305.12°)
OKLaboklab(59.35% 0.0572 -0.1164)
OKLCHoklch(59.35% 0.13 296.2)
XYZxyz(24.9293, 19.6882, 53.5153)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CC2 #A8C26C
analogous
#6C7DC2 #866CC2 #B16CC2
triadic
#866CC2 #C2866C #6CC286
tetradic
#866CC2 #C26C7D #A8C26C #6CC2B1
square
#866CC2 #C26C7D #A8C26C #6CC2B1
split-complementary
#866CC2 #C2B16C #7DC26C
monochromatic
#4B357F #6547AA #866CC2 #AA97D4 #CDC3E6

Accessibility & contrast

On white

4.25
#866CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#866CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CC2#FFFFFF#000000##000000
##866CC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#567AC0
Tritanopia (blue-blind)
#797C8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866cc2;
/* rgb */ color: rgb(134, 108, 194);
/* oklch */ color: oklch(59.4% 0.130 296.2);
Tailwind
colors: {
  custom: {
    50: '#ab96d5',
    500: '#866cc2',
    950: '#000000',
  },
}
SCSS
$custom: #866cc2;
$custom-light: #ab96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#866cc2",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 258.14,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5935,
    "c": 0.1297,
    "h": 296.2
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#866CC2
secondary
#CCD6B4
accent
#D157AC
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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