#866EBB#866EBB

#866EBB is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.3% C 0.117 H 297.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#866EBB
RGBrgb(134, 110, 187)
HSLhsl(259, 36%, 58%)
HSVhsv(259, 41%, 73%)
CMYKcmyk(28.3%, 41.2%, 0%, 26.7%)
CIE-LABlab(51.62, 26.20, -37.24)
CIE-LCHlch(51.62, 45.54, 305.13°)
OKLaboklab(59.34% 0.0532 -0.1041)
OKLCHoklch(59.34% 0.117 297.1)
XYZxyz(24.3750, 19.8078, 49.5432)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EBB #A3BB6E
analogous
#6E7CBB #866EBB #AC6EBB
triadic
#866EBB #BB866E #6EBB86
tetradic
#866EBB #BB6E7C #A3BB6E #6EBBAC
square
#866EBB #BB6E7C #A3BB6E #6EBBAC
split-complementary
#866EBB #BBAC6E #7CBB6E
monochromatic
#4B3877 #664BA1 #866EBB #A998CF #CCC1E2

Accessibility & contrast

On white

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

On black

4.96
#866EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EBB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EBB#FFFFFF#000000##000000
##866EBB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#7B7B8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866ebb;
/* rgb */ color: rgb(134, 110, 187);
/* oklch */ color: oklch(59.3% 0.117 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab98d0',
    500: '#866ebb',
    950: '#000000',
  },
}
SCSS
$custom: #866ebb;
$custom-light: #ab98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#866ebb",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 258.701,
    "s": 36.15,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.11689,
    "h": 297.1
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#866EBB
secondary
#C8D2B3
accent
#CC5CA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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