#866AE4#866AE4

#866AE4 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.178 H 290.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#866AE4
RGBrgb(134, 106, 228)
HSLhsl(254, 69%, 65%)
HSVhsv(254, 54%, 89%)
CMYKcmyk(41.2%, 53.5%, 0%, 10.6%)
CIE-LABlab(52.92, 39.46, -58.50)
CIE-LCHlch(52.92, 70.57, 304.00°)
OKLaboklab(61.05% 0.063 -0.1662)
OKLCHoklch(61.05% 0.178 290.7)
XYZxyz(28.9853, 20.9769, 75.9055)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AE4 #C8E46A
analogous
#6A8BE4 #866AE4 #C36AE4
triadic
#866AE4 #E4866A #6AE486
tetradic
#866AE4 #E46A8B #C8E46A #6AE4C3
square
#866AE4 #E46A8B #C8E46A #6AE4C3
split-complementary
#866AE4 #E4C36A #8BE46A
monochromatic
#4220B3 #5C36DB #866AE4 #B09EED #DAD2F7

Accessibility & contrast

On white

4.04
#866AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#866AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AE4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AE4#FFFFFF#000000##000000
##866AE41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E8
Deuteranopia (green-blind)
#347CE1
Tritanopia (blue-blind)
#6C849D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866ae4;
/* rgb */ color: rgb(134, 106, 228);
/* oklch */ color: oklch(61.0% 0.178 290.7);
Tailwind
colors: {
  custom: {
    50: '#ae95ed',
    500: '#866ae4',
    950: '#000000',
  },
}
SCSS
$custom: #866ae4;
$custom-light: #ae95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#866ae4",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 253.77,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.17777,
    "h": 290.7
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#866AE4
secondary
#E0E9C0
accent
#D114A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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