#866BBB#866BBB

#866BBB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 58.8% C 0.122 H 298.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#866BBB
RGBrgb(134, 107, 187)
HSLhsl(260, 37%, 58%)
HSVhsv(260, 43%, 73%)
CMYKcmyk(28.3%, 42.8%, 0%, 26.7%)
CIE-LABlab(50.89, 27.97, -38.40)
CIE-LCHlch(50.89, 47.50, 306.07°)
OKLaboklab(58.79% 0.0574 -0.1074)
OKLCHoklch(58.79% 0.122 298.1)
XYZxyz(24.0567, 19.1714, 49.4371)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BBB #A0BB6B
analogous
#6B78BB #866BBB #AE6BBB
triadic
#866BBB #BB866B #6BBB86
tetradic
#866BBB #BB6B78 #A0BB6B #6BBBAE
square
#866BBB #BB6B78 #A0BB6B #6BBBAE
split-complementary
#866BBB #BBAE6B #78BB6B
monochromatic
#4B3676 #6649A0 #866BBB #A895CE #CBBFE2

Accessibility & contrast

On white

4.34
#866BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#866BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BBB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BBB#FFFFFF#000000##000000
##866BBB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#7B798A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866bbb;
/* rgb */ color: rgb(134, 107, 187);
/* oklch */ color: oklch(58.8% 0.122 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab95d0',
    500: '#866bbb',
    950: '#000000',
  },
}
SCSS
$custom: #866bbb;
$custom-light: #ab95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#866bbb",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 260.25,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.12182,
    "h": 298.1
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#866BBB
secondary
#C6D1B1
accent
#CD5BA6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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