#866FC4#866FC4

#866FC4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.128 H 294.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866FC4
RGBrgb(134, 111, 196)
HSLhsl(256, 42%, 60%)
HSVhsv(256, 43%, 77%)
CMYKcmyk(31.6%, 43.4%, 0%, 23.1%)
CIE-LABlab(52.31, 27.94, -41.32)
CIE-LCHlch(52.31, 49.88, 304.06°)
OKLaboklab(60.01% 0.0534 -0.1159)
OKLCHoklch(60.01% 0.128 294.7)
XYZxyz(25.4773, 20.4223, 54.8135)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FC4 #ADC46F
analogous
#6F83C4 #866FC4 #B06FC4
triadic
#866FC4 #C4866F #6FC486
tetradic
#866FC4 #C46F83 #ADC46F #6FC4B0
square
#866FC4 #C46F83 #ADC46F #6FC4B0
split-complementary
#866FC4 #C4B06F #83C46F
monochromatic
#4B3683 #6347AE #866FC4 #AA9AD6 #CFC6E8

Accessibility & contrast

On white

4.13
#866FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#866FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FC4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FC4#FFFFFF#000000##000000
##866FC41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#587CC2
Tritanopia (blue-blind)
#787F90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866fc4;
/* rgb */ color: rgb(134, 111, 196);
/* oklch */ color: oklch(60.0% 0.128 294.7);
Tailwind
colors: {
  custom: {
    50: '#ab98d6',
    500: '#866fc4',
    950: '#000000',
  },
}
SCSS
$custom: #866fc4;
$custom-light: #ab98d6;
$custom-dark: #000000;
JSON
{
  "hex": "#866fc4",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 256.235,
    "s": 41.872,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60008,
    "c": 0.12764,
    "h": 294.7
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#866FC4
secondary
#CFD8B7
accent
#B53191
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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