#866BC2#866BC2

#866BC2 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.2% C 0.131 H 296.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#866BC2
RGBrgb(134, 107, 194)
HSLhsl(259, 42%, 59%)
HSVhsv(259, 45%, 76%)
CMYKcmyk(30.9%, 44.8%, 0%, 23.9%)
CIE-LABlab(51.24, 29.77, -41.87)
CIE-LCHlch(51.24, 51.37, 305.42°)
OKLaboklab(59.17% 0.0586 -0.1175)
OKLCHoklch(59.17% 0.131 296.5)
XYZxyz(24.8244, 19.4785, 53.4803)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BC2 #A7C26B
analogous
#6B7CC2 #866BC2 #B26BC2
triadic
#866BC2 #C2866B #6BC286
tetradic
#866BC2 #C26B7C #A7C26B #6BC2B2
square
#866BC2 #C26B7C #A7C26B #6BC2B2
split-complementary
#866BC2 #C2B26B #7CC26B
monochromatic
#4B347E #6546AA #866BC2 #A996D4 #CDC2E6

Accessibility & contrast

On white

4.29
#866BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#866BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BC2#FFFFFF#000000##000000
##866BC21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC5
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#797B8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866bc2;
/* rgb */ color: rgb(134, 107, 194);
/* oklch */ color: oklch(59.2% 0.131 296.5);
Tailwind
colors: {
  custom: {
    50: '#ab96d5',
    500: '#866bc2',
    950: '#000000',
  },
}
SCSS
$custom: #866bc2;
$custom-light: #ab96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#866bc2",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 258.621,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.13131,
    "h": 296.5
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#866BC2
secondary
#CBD5B3
accent
#D156AB
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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