#866BEF#866BEF

#866BEF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.190 H 289.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#866BEF
RGBrgb(134, 107, 239)
HSLhsl(252, 80%, 68%)
HSVhsv(252, 55%, 94%)
CMYKcmyk(43.9%, 55.2%, 0%, 6.3%)
CIE-LABlab(53.83, 41.94, -63.21)
CIE-LCHlch(53.83, 75.86, 303.56°)
OKLaboklab(61.93% 0.0621 -0.1801)
OKLCHoklch(61.93% 0.19 289)
XYZxyz(30.6648, 21.8146, 84.2395)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BEF #D4EF6B
analogous
#6B92EF #866BEF #C86BEF
triadic
#866BEF #EF866B #6BEF86
tetradic
#866BEF #EF6B92 #D4EF6B #6BEFC8
square
#866BEF #EF6B92 #D4EF6B #6BEFC8
split-complementary
#866BEF #EFC86B #92EF6B
monochromatic
#3B16CA #5934E9 #866BEF #B3A2F5 #E0D9FB

Accessibility & contrast

On white

3.92
#866BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#866BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BEF#FFFFFF#000000##000000
##866BEF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F3
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#6688A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866bef;
/* rgb */ color: rgb(134, 107, 239);
/* oklch */ color: oklch(61.9% 0.190 289.0);
Tailwind
colors: {
  custom: {
    50: '#af96f5',
    500: '#866bef',
    950: '#000000',
  },
}
SCSS
$custom: #866bef;
$custom-light: #af96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#866bef",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 252.273,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.19048,
    "h": 289
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#866BEF
secondary
#E7EFC7
accent
#DD09B1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #866BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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