#866EF5#866EF5

#866EF5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.194 H 287.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#866EF5
RGBrgb(134, 110, 245)
HSLhsl(251, 87%, 70%)
HSVhsv(251, 55%, 96%)
CMYKcmyk(45.3%, 55.1%, 0%, 3.9%)
CIE-LABlab(54.88, 41.91, -64.86)
CIE-LCHlch(54.88, 77.22, 302.87°)
OKLaboklab(62.83% 0.0588 -0.1849)
OKLCHoklch(62.83% 0.194 287.6)
XYZxyz(31.8841, 22.8115, 89.0916)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EF5 #DDF56E
analogous
#6E99F5 #866EF5 #CA6EF5
triadic
#866EF5 #F5866E #6EF586
tetradic
#866EF5 #F56E99 #DDF56E #6EF5CA
square
#866EF5 #F56E99 #DDF56E #6EF5CA
split-complementary
#866EF5 #F5CA6E #99F56E
monochromatic
#330FDA #5635F1 #866EF5 #B6A7F9 #E6E1FD

Accessibility & contrast

On white

3.78
#866EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#866EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EF5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EF5#FFFFFF#000000##000000
##866EF51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#1F80F2
Tritanopia (blue-blind)
#638CA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866ef5;
/* rgb */ color: rgb(134, 110, 245);
/* oklch */ color: oklch(62.8% 0.194 287.6);
Tailwind
colors: {
  custom: {
    50: '#b098f9',
    500: '#866ef5',
    950: '#000000',
  },
}
SCSS
$custom: #866ef5;
$custom-light: #b098f9;
$custom-dark: #000000;
JSON
{
  "hex": "#866ef5",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 250.667,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6283,
    "c": 0.19405,
    "h": 287.6
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#866EF5
secondary
#ECF3CC
accent
#E402BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #866EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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