#866BC7#866BC7

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

Color values

HEX#866BC7
RGBrgb(134, 107, 199)
HSLhsl(258, 45%, 60%)
HSVhsv(258, 46%, 78%)
CMYKcmyk(32.7%, 46.2%, 0%, 22%)
CIE-LABlab(51.50, 31.07, -44.32)
CIE-LCHlch(51.50, 54.13, 305.04°)
OKLaboklab(59.45% 0.0593 -0.1247)
OKLCHoklch(59.45% 0.138 295.4)
XYZxyz(25.3954, 19.7069, 56.4876)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BC7 #ACC76B
analogous
#6B7EC7 #866BC7 #B46BC7
triadic
#866BC7 #C7866B #6BC786
tetradic
#866BC7 #C76B7E #ACC76B #6BC7B4
square
#866BC7 #C76B7E #ACC76B #6BC7B4
split-complementary
#866BC7 #C7B46B #7EC76B
monochromatic
#4B3285 #6443B2 #866BC7 #AA97D8 #CFC4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866BC7#FFFFFF#000000##000000
##866BC71.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)
#4D7BCA
Deuteranopia (green-blind)
#5279C5
Tritanopia (blue-blind)
#777C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866bc7;
/* rgb */ color: rgb(134, 107, 199);
/* oklch */ color: oklch(59.5% 0.138 295.4);
Tailwind
colors: {
  custom: {
    50: '#ac96d8',
    500: '#866bc7',
    950: '#000000',
  },
}
SCSS
$custom: #866bc7;
$custom-light: #ac96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#866bc7",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 257.609,
    "s": 45.098,
    "l": 60
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.13805,
    "h": 295.4
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#866BC7
secondary
#CED9B5
accent
#D553AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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