#866FA4#866FA4

#866FA4 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.4% C 0.083 H 303.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#866FA4
RGBrgb(134, 111, 164)
HSLhsl(266, 23%, 54%)
HSVhsv(266, 32%, 64%)
CMYKcmyk(18.3%, 32.3%, 0%, 35.7%)
CIE-LABlab(50.82, 19.96, -25.14)
CIE-LCHlch(50.82, 32.10, 308.44°)
OKLaboklab(58.39% 0.0464 -0.0693)
OKLCHoklch(58.39% 0.083 303.8)
XYZxyz(22.2154, 19.1176, 37.6345)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FA4 #8DA46F
analogous
#6F73A4 #866FA4 #A16FA4
triadic
#866FA4 #A4866F #6FA486
tetradic
#866FA4 #A46F73 #8DA46F #6FA4A1
square
#866FA4 #A46F73 #8DA46F #6FA4A1
split-complementary
#866FA4 #A4A16F #73A46F
monochromatic
#4A3B5E #685383 #866FA4 #A695BC #C5BAD3

Accessibility & contrast

On white

4.35
#866FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#866FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FA4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FA4#FFFFFF#000000##000000
##866FA41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A6
Deuteranopia (green-blind)
#6879A2
Tritanopia (blue-blind)
#817782
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #866fa4;
/* rgb */ color: rgb(134, 111, 164);
/* oklch */ color: oklch(58.4% 0.083 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa98bf',
    500: '#866fa4',
    950: '#000000',
  },
}
SCSS
$custom: #866fa4;
$custom-light: #aa98bf;
$custom-dark: #000000;
JSON
{
  "hex": "#866fa4",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 266.038,
    "s": 22.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.08339,
    "h": 303.8
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#866FA4
secondary
#B9C3AC
accent
#BF699A
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #866FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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