#866FAF#866FAF

#866FAF is a mid, moderate violet. Relative luminance 0.195; OKLCH L 58.9% C 0.099 H 299.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#866FAF
RGBrgb(134, 111, 175)
HSLhsl(262, 29%, 56%)
HSVhsv(262, 37%, 69%)
CMYKcmyk(23.4%, 36.6%, 0%, 31.4%)
CIE-LABlab(51.30, 22.61, -30.80)
CIE-LCHlch(51.30, 38.21, 306.28°)
OKLaboklab(58.91% 0.0492 -0.0855)
OKLCHoklch(58.91% 0.099 299.9)
XYZxyz(23.2521, 19.5323, 43.0942)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FAF #98AF6F
analogous
#6F78AF #866FAF #A66FAF
triadic
#866FAF #AF866F #6FAF86
tetradic
#866FAF #AF6F78 #98AF6F #6FAFA6
square
#866FAF #AF6F78 #98AF6F #6FAFA6
split-complementary
#866FAF #AFA66F #78AF6F
monochromatic
#4B3A69 #675091 #866FAF #A796C5 #C8BEDB

Accessibility & contrast

On white

4.28
#866FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#866FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FAF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FAF#FFFFFF#000000##000000
##866FAF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607AB1
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#7F7987
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #866faf;
/* rgb */ color: rgb(134, 111, 175);
/* oklch */ color: oklch(58.9% 0.099 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa98c7',
    500: '#866faf',
    950: '#000000',
  },
}
SCSS
$custom: #866faf;
$custom-light: #aa98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#866faf",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 261.563,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.09863,
    "h": 299.9
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#866FAF
secondary
#C1CAB0
accent
#C563A2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #866FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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