#866AEF#866AEF

#866AEF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.192 H 289.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#866AEF
RGBrgb(134, 106, 239)
HSLhsl(253, 81%, 68%)
HSVhsv(253, 56%, 94%)
CMYKcmyk(43.9%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.61, 42.51, -63.57)
CIE-LCHlch(53.61, 76.47, 303.77°)
OKLaboklab(61.77% 0.0632 -0.1811)
OKLCHoklch(61.77% 0.192 289.2)
XYZxyz(30.5611, 21.6073, 84.2050)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AEF #D3EF6A
analogous
#6A90EF #866AEF #C96AEF
triadic
#866AEF #EF866A #6AEF86
tetradic
#866AEF #EF6A90 #D3EF6A #6AEFC9
square
#866AEF #EF6A90 #D3EF6A #6AEFC9
split-complementary
#866AEF #EFC96A #90EF6A
monochromatic
#3B16C9 #5933E9 #866AEF #B3A1F5 #E0D9FB

Accessibility & contrast

On white

3.95
#866AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#866AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AEF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AEF#FFFFFF#000000##000000
##866AEF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#6687A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866aef;
/* rgb */ color: rgb(134, 106, 239);
/* oklch */ color: oklch(61.8% 0.192 289.2);
Tailwind
colors: {
  custom: {
    50: '#af95f5',
    500: '#866aef',
    950: '#000000',
  },
}
SCSS
$custom: #866aef;
$custom-light: #af95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#866aef",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 252.632,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.19185,
    "h": 289.2
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#866AEF
secondary
#E6EFC6
accent
#DD09B0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #866AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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