#866EC7#866EC7

#866EC7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.0% C 0.133 H 294.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#866EC7
RGBrgb(134, 110, 199)
HSLhsl(256, 44%, 61%)
HSVhsv(256, 45%, 78%)
CMYKcmyk(32.7%, 44.7%, 0%, 22%)
CIE-LABlab(52.22, 29.31, -43.18)
CIE-LCHlch(52.22, 52.19, 304.17°)
OKLaboklab(59.99% 0.0552 -0.1214)
OKLCHoklch(59.99% 0.133 294.5)
XYZxyz(25.7137, 20.3433, 56.5937)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EC7 #AFC76E
analogous
#6E82C7 #866EC7 #B36EC7
triadic
#866EC7 #C7866E #6EC786
tetradic
#866EC7 #C76E82 #AFC76E #6EC7B3
square
#866EC7 #C76E82 #AFC76E #6EC7B3
split-complementary
#866EC7 #C7B36E #82C76E
monochromatic
#4A3487 #6345B3 #866EC7 #AB9AD8 #D0C6E9

Accessibility & contrast

On white

4.14
#866EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#866EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EC7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EC7#FFFFFF#000000##000000
##866EC71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DCA
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#777F91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866ec7;
/* rgb */ color: rgb(134, 110, 199);
/* oklch */ color: oklch(60.0% 0.133 294.5);
Tailwind
colors: {
  custom: {
    50: '#ac98d8',
    500: '#866ec7',
    950: '#000000',
  },
}
SCSS
$custom: #866ec7;
$custom-light: #ac98d8;
$custom-dark: #000000;
JSON
{
  "hex": "#866ec7",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 256.18,
    "s": 44.279,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.13332,
    "h": 294.5
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#866EC7
secondary
#D0D9B7
accent
#B72E92
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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