#866AE6#866AE6

#866AE6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.2% C 0.180 H 290.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#866AE6
RGBrgb(134, 106, 230)
HSLhsl(254, 71%, 66%)
HSVhsv(254, 54%, 90%)
CMYKcmyk(41.7%, 53.9%, 0%, 9.8%)
CIE-LABlab(53.05, 40.01, -59.43)
CIE-LCHlch(53.05, 71.65, 303.95°)
OKLaboklab(61.17% 0.063 -0.169)
OKLCHoklch(61.17% 0.18 290.5)
XYZxyz(29.2645, 21.0886, 77.3762)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AE6 #CAE66A
analogous
#6A8CE6 #866AE6 #C46AE6
triadic
#866AE6 #E6866A #6AE686
tetradic
#866AE6 #E66A8C #CAE66A #6AE6C4
square
#866AE6 #E66A8C #CAE66A #6AE6C4
split-complementary
#866AE6 #E6C46A #8CE66A
monochromatic
#411FB7 #5B36DD #866AE6 #B19EEF #DBD3F8

Accessibility & contrast

On white

4.02
#866AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#866AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AE6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AE6#FFFFFF#000000##000000
##866AE61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D81EA
Deuteranopia (green-blind)
#317CE3
Tritanopia (blue-blind)
#6B849E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866ae6;
/* rgb */ color: rgb(134, 106, 230);
/* oklch */ color: oklch(61.2% 0.180 290.5);
Tailwind
colors: {
  custom: {
    50: '#ae95ef',
    500: '#866ae6',
    950: '#000000',
  },
}
SCSS
$custom: #866ae6;
$custom-light: #ae95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866ae6",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 253.548,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.18035,
    "h": 290.5
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#866AE6
secondary
#E1EAC1
accent
#D312A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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