#866BCC#866BCC

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

Color values

HEX#866BCC
RGBrgb(134, 107, 204)
HSLhsl(257, 49%, 61%)
HSVhsv(257, 48%, 80%)
CMYKcmyk(34.3%, 47.5%, 0%, 20%)
CIE-LABlab(51.77, 32.39, -46.75)
CIE-LCHlch(51.77, 56.87, 304.72°)
OKLaboklab(59.74% 0.0599 -0.1318)
OKLCHoklch(59.74% 0.145 294.4)
XYZxyz(25.9855, 19.9429, 59.5953)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BCC #B1CC6B
analogous
#6B80CC #866BCC #B66BCC
triadic
#866BCC #CC866B #6BCC86
tetradic
#866BCC #CC6B80 #B1CC6B #6BCCB6
square
#866BCC #CC6B80 #B1CC6B #6BCCB6
split-complementary
#866BCC #CCB66B #80CC6B
monochromatic
#4A308C #6240BA #866BCC #AB99DC #D0C6EB

Accessibility & contrast

On white

4.21
#866BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#866BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BCC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BCC#FFFFFF#000000##000000
##866BCC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#767E92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866bcc;
/* rgb */ color: rgb(134, 107, 204);
/* oklch */ color: oklch(59.7% 0.145 294.4);
Tailwind
colors: {
  custom: {
    50: '#ac96dc',
    500: '#866bcc',
    950: '#000000',
  },
}
SCSS
$custom: #866bcc;
$custom-light: #ac96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#866bcc",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 256.701,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.14475,
    "h": 294.4
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#866BCC
secondary
#D2DCB7
accent
#BC2993
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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