#866BCB#866BCB

#866BCB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.7% C 0.143 H 294.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#866BCB
RGBrgb(134, 107, 203)
HSLhsl(257, 48%, 61%)
HSVhsv(257, 47%, 80%)
CMYKcmyk(34%, 47.3%, 0%, 20.4%)
CIE-LABlab(51.72, 32.13, -46.27)
CIE-LCHlch(51.72, 56.33, 304.78°)
OKLaboklab(59.68% 0.0598 -0.1304)
OKLCHoklch(59.68% 0.143 294.6)
XYZxyz(25.8660, 19.8951, 58.9657)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BCB #B0CB6B
analogous
#6B80CB #866BCB #B66BCB
triadic
#866BCB #CB866B #6BCB86
tetradic
#866BCB #CB6B80 #B0CB6B #6BCBB6
square
#866BCB #CB6B80 #B0CB6B #6BCBB6
split-complementary
#866BCB #CBB66B #80CB6B
monochromatic
#4A318B #6241B8 #866BCB #AB98DB #D0C6EB

Accessibility & contrast

On white

4.22
#866BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#866BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BCB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BCB#FFFFFF#000000##000000
##866BCB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#767D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866bcb;
/* rgb */ color: rgb(134, 107, 203);
/* oklch */ color: oklch(59.7% 0.143 294.6);
Tailwind
colors: {
  custom: {
    50: '#ac96db',
    500: '#866bcb',
    950: '#000000',
  },
}
SCSS
$custom: #866bcb;
$custom-light: #ac96db;
$custom-dark: #000000;
JSON
{
  "hex": "#866bcb",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 256.875,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.14341,
    "h": 294.6
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#866BCB
secondary
#D1DBB7
accent
#BB2A92
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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