#866AEB#866AEB

#866AEB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.187 H 289.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#866AEB
RGBrgb(134, 106, 235)
HSLhsl(253, 76%, 67%)
HSVhsv(253, 55%, 92%)
CMYKcmyk(43%, 54.9%, 0%, 7.8%)
CIE-LABlab(53.36, 41.40, -61.74)
CIE-LCHlch(53.36, 74.33, 303.84°)
OKLaboklab(61.5% 0.0632 -0.1757)
OKLCHoklch(61.5% 0.187 289.8)
XYZxyz(29.9768, 21.3735, 81.1272)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AEB #CFEB6A
analogous
#6A8FEB #866AEB #C66AEB
triadic
#866AEB #EB866A #6AEB86
tetradic
#866AEB #EB6A8F #CFEB6A #6AEBC6
square
#866AEB #EB6A8F #CFEB6A #6AEBC6
split-complementary
#866AEB #EBC66A #8FEB6A
monochromatic
#3E1AC1 #5A34E4 #866AEB #B2A0F2 #DED6F9

Accessibility & contrast

On white

3.98
#866AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#866AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AEB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AEB#FFFFFF#000000##000000
##866AEB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#6886A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866aeb;
/* rgb */ color: rgb(134, 106, 235);
/* oklch */ color: oklch(61.5% 0.187 289.8);
Tailwind
colors: {
  custom: {
    50: '#af95f2',
    500: '#866aeb',
    950: '#000000',
  },
}
SCSS
$custom: #866aeb;
$custom-light: #af95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#866aeb",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 253.023,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.18675,
    "h": 289.8
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#866AEB
secondary
#E4EDC4
accent
#D90DAC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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