#866FEF#866FEF

#866FEF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.185 H 288.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#866FEF
RGBrgb(134, 111, 239)
HSLhsl(251, 80%, 69%)
HSVhsv(251, 54%, 94%)
CMYKcmyk(43.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(54.73, 39.65, -61.76)
CIE-LCHlch(54.73, 73.39, 302.70°)
OKLaboklab(62.6% 0.0575 -0.1758)
OKLCHoklch(62.6% 0.185 288.1)
XYZxyz(31.0915, 22.6680, 84.3818)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FEF #D8EF6F
analogous
#6F98EF #866FEF #C66FEF
triadic
#866FEF #EF866F #6FEF86
tetradic
#866FEF #EF6F98 #D8EF6F #6FEFC6
square
#866FEF #EF6F98 #D8EF6F #6FEFC6
split-complementary
#866FEF #EFC66F #98EF6F
monochromatic
#3717CD #5838E9 #866FEF #B4A6F5 #E3DDFB

Accessibility & contrast

On white

3.79
#866FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#866FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FEF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FEF#FFFFFF#000000##000000
##866FEF1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#2E80EC
Tritanopia (blue-blind)
#668BA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866fef;
/* rgb */ color: rgb(134, 111, 239);
/* oklch */ color: oklch(62.6% 0.185 288.1);
Tailwind
colors: {
  custom: {
    50: '#af99f5',
    500: '#866fef',
    950: '#000000',
  },
}
SCSS
$custom: #866fef;
$custom-light: #af99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#866fef",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 250.781,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.626,
    "c": 0.18498,
    "h": 288.1
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#866FEF
secondary
#E9F0CA
accent
#DC09B6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #866FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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