#866EC5#866EC5

#866EC5 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.131 H 294.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#866EC5
RGBrgb(134, 110, 197)
HSLhsl(257, 43%, 60%)
HSVhsv(257, 44%, 77%)
CMYKcmyk(32%, 44.2%, 0%, 22.7%)
CIE-LABlab(52.12, 28.79, -42.20)
CIE-LCHlch(52.12, 51.08, 304.30°)
OKLaboklab(59.88% 0.0549 -0.1185)
OKLCHoklch(59.88% 0.131 294.9)
XYZxyz(25.4830, 20.2510, 55.3788)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EC5 #ADC56E
analogous
#6E81C5 #866EC5 #B26EC5
triadic
#866EC5 #C5866E #6EC586
tetradic
#866EC5 #C56E81 #ADC56E #6EC5B2
square
#866EC5 #C56E81 #ADC56E #6EC5B2
split-complementary
#866EC5 #C5B26E #81C56E
monochromatic
#4B3584 #6346B0 #866EC5 #AA9AD6 #CFC5E8

Accessibility & contrast

On white

4.16
#866EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#866EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EC5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EC5#FFFFFF#000000##000000
##866EC51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC8
Deuteranopia (green-blind)
#577BC3
Tritanopia (blue-blind)
#787E90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866ec5;
/* rgb */ color: rgb(134, 110, 197);
/* oklch */ color: oklch(59.9% 0.131 294.9);
Tailwind
colors: {
  custom: {
    50: '#ac98d7',
    500: '#866ec5',
    950: '#000000',
  },
}
SCSS
$custom: #866ec5;
$custom-light: #ac98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#866ec5",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 256.552,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.1306,
    "h": 294.9
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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