#866AE7#866AE7

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

Color values

HEX#866AE7
RGBrgb(134, 106, 231)
HSLhsl(253, 72%, 66%)
HSVhsv(253, 54%, 91%)
CMYKcmyk(42%, 54.1%, 0%, 9.4%)
CIE-LABlab(53.11, 40.29, -59.89)
CIE-LCHlch(53.11, 72.18, 303.93°)
OKLaboklab(61.24% 0.0631 -0.1703)
OKLCHoklch(61.24% 0.182 290.3)
XYZxyz(29.4054, 21.1450, 78.1179)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AE7 #CBE76A
analogous
#6A8CE7 #866AE7 #C46AE7
triadic
#866AE7 #E7866A #6AE786
tetradic
#866AE7 #E76A8C #CBE76A #6AE7C4
square
#866AE7 #E76A8C #CBE76A #6AE7C4
split-complementary
#866AE7 #E7C46A #8CE76A
monochromatic
#411EB9 #5B35DF #866AE7 #B19FEF #DCD3F8

Accessibility & contrast

On white

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

On black

5.23
#866AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AE7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AE7#FFFFFF#000000##000000
##866AE71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#6A859E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866ae7;
/* rgb */ color: rgb(134, 106, 231);
/* oklch */ color: oklch(61.2% 0.182 290.3);
Tailwind
colors: {
  custom: {
    50: '#af95ef',
    500: '#866ae7',
    950: '#000000',
  },
}
SCSS
$custom: #866ae7;
$custom-light: #af95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866ae7",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 253.44,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.18163,
    "h": 290.3
  },
  "luminance": 0.21146
}

Semantic roles & 50–950 ramp

primary
#866AE7
secondary
#E2EBC2
accent
#D411A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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