#866EA4#866EA4

#866EA4 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.2% C 0.085 H 304.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#866EA4
RGBrgb(134, 110, 164)
HSLhsl(267, 23%, 54%)
HSVhsv(267, 33%, 64%)
CMYKcmyk(18.3%, 32.9%, 0%, 35.7%)
CIE-LABlab(50.57, 20.55, -25.54)
CIE-LCHlch(50.57, 32.78, 308.82°)
OKLaboklab(58.2% 0.0479 -0.0704)
OKLCHoklch(58.2% 0.085 304.3)
XYZxyz(22.1069, 18.9006, 37.5983)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EA4 #8CA46E
analogous
#6E71A4 #866EA4 #A16EA4
triadic
#866EA4 #A4866E #6EA486
tetradic
#866EA4 #A46E71 #8CA46E #6EA4A1
square
#866EA4 #A46E71 #8CA46E #6EA4A1
split-complementary
#866EA4 #A4A16E #71A46E
monochromatic
#4A3A5D #685283 #866EA4 #A594BC #C5B9D3

Accessibility & contrast

On white

4.39
#866EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#866EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EA4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EA4#FFFFFF#000000##000000
##866EA41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A6
Deuteranopia (green-blind)
#6878A2
Tritanopia (blue-blind)
#817682
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #866ea4;
/* rgb */ color: rgb(134, 110, 164);
/* oklch */ color: oklch(58.2% 0.085 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa97bf',
    500: '#866ea4',
    950: '#000000',
  },
}
SCSS
$custom: #866ea4;
$custom-light: #aa97bf;
$custom-dark: #000000;
JSON
{
  "hex": "#866ea4",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 266.667,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.08516,
    "h": 304.3
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#866EA4
secondary
#B8C2AB
accent
#BF6899
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #866EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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