#866EBC#866EBC

#866EBC is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.4% C 0.118 H 296.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#866EBC
RGBrgb(134, 110, 188)
HSLhsl(258, 37%, 58%)
HSVhsv(258, 41%, 74%)
CMYKcmyk(28.7%, 41.5%, 0%, 26.3%)
CIE-LABlab(51.67, 26.46, -37.74)
CIE-LCHlch(51.67, 46.09, 305.03°)
OKLaboklab(59.39% 0.0534 -0.1055)
OKLCHoklch(59.39% 0.118 296.8)
XYZxyz(24.4824, 19.8508, 50.1089)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EBC #A4BC6E
analogous
#6E7DBC #866EBC #AD6EBC
triadic
#866EBC #BC866E #6EBC86
tetradic
#866EBC #BC6E7D #A4BC6E #6EBCAD
square
#866EBC #BC6E7D #A4BC6E #6EBCAD
split-complementary
#866EBC #BCAD6E #7DBC6E
monochromatic
#4B3778 #664BA2 #866EBC #A998CF #CCC2E3

Accessibility & contrast

On white

4.23
#866EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#866EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EBC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EBC#FFFFFF#000000##000000
##866EBC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#7B7C8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866ebc;
/* rgb */ color: rgb(134, 110, 188);
/* oklch */ color: oklch(59.4% 0.118 296.8);
Tailwind
colors: {
  custom: {
    50: '#ab98d0',
    500: '#866ebc',
    950: '#000000',
  },
}
SCSS
$custom: #866ebc;
$custom-light: #ab98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#866ebc",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 188
  },
  "hsl": {
    "h": 258.462,
    "s": 36.792,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.11827,
    "h": 296.8
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#866EBC
secondary
#C9D2B3
accent
#CD5BAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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