#866CEF#866CEF

#866CEF is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.189 H 288.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#866CEF
RGBrgb(134, 108, 239)
HSLhsl(252, 80%, 68%)
HSVhsv(252, 55%, 94%)
CMYKcmyk(43.9%, 54.8%, 0%, 6.3%)
CIE-LABlab(54.05, 41.37, -62.85)
CIE-LCHlch(54.05, 75.24, 303.35°)
OKLaboklab(62.1% 0.061 -0.179)
OKLCHoklch(62.1% 0.189 288.8)
XYZxyz(30.7697, 22.0243, 84.2745)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CEF #D5EF6C
analogous
#6C94EF #866CEF #C76CEF
triadic
#866CEF #EF866C #6CEF86
tetradic
#866CEF #EF6C94 #D5EF6C #6CEFC7
square
#866CEF #EF6C94 #D5EF6C #6CEFC7
split-complementary
#866CEF #EFC76C #94EF6C
monochromatic
#3A16CB #5935E9 #866CEF #B3A3F5 #E1DAFB

Accessibility & contrast

On white

3.89
#866CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#866CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CEF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CEF#FFFFFF#000000##000000
##866CEF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#6689A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866cef;
/* rgb */ color: rgb(134, 108, 239);
/* oklch */ color: oklch(62.1% 0.189 288.8);
Tailwind
colors: {
  custom: {
    50: '#af97f5',
    500: '#866cef',
    950: '#000000',
  },
}
SCSS
$custom: #866cef;
$custom-light: #af97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#866cef",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 251.908,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62099,
    "c": 0.18911,
    "h": 288.8
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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