#866FB2#866FB2

#866FB2 is a mid, moderate violet. Relative luminance 0.197; OKLCH L 59.1% C 0.103 H 299.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#866FB2
RGBrgb(134, 111, 178)
HSLhsl(261, 30%, 57%)
HSVhsv(261, 38%, 70%)
CMYKcmyk(24.7%, 37.6%, 0%, 30.2%)
CIE-LABlab(51.44, 23.35, -32.33)
CIE-LCHlch(51.44, 39.88, 305.84°)
OKLaboklab(59.06% 0.0499 -0.0899)
OKLCHoklch(59.06% 0.103 299)
XYZxyz(23.5500, 19.6514, 44.6633)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FB2 #9BB26F
analogous
#6F7AB2 #866FB2 #A86FB2
triadic
#866FB2 #B2866F #6FB286
tetradic
#866FB2 #B26F7A #9BB26F #6FB2A8
square
#866FB2 #B26F7A #9BB26F #6FB2A8
split-complementary
#866FB2 #B2A86F #7AB26F
monochromatic
#4B3A6D #674F94 #866FB2 #A897C7 #C9BFDD

Accessibility & contrast

On white

4.26
#866FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#866FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FB2#FFFFFF#000000##000000
##866FB21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB5
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#7E7A88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866fb2;
/* rgb */ color: rgb(134, 111, 178);
/* oklch */ color: oklch(59.1% 0.103 299.0);
Tailwind
colors: {
  custom: {
    50: '#aa98c9',
    500: '#866fb2',
    950: '#000000',
  },
}
SCSS
$custom: #866fb2;
$custom-light: #aa98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#866fb2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 260.597,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.10278,
    "h": 299
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#866FB2
secondary
#C3CCB1
accent
#C761A4
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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