#866DF5#866DF5

#866DF5 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.195 H 287.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#866DF5
RGBrgb(134, 109, 245)
HSLhsl(251, 87%, 69%)
HSVhsv(251, 56%, 96%)
CMYKcmyk(45.3%, 55.5%, 0%, 3.9%)
CIE-LABlab(54.65, 42.48, -65.22)
CIE-LCHlch(54.65, 77.83, 303.08°)
OKLaboklab(62.67% 0.0599 -0.186)
OKLCHoklch(62.67% 0.195 287.9)
XYZxyz(31.7769, 22.5969, 89.0558)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DF5 #DCF56D
analogous
#6D98F5 #866DF5 #CA6DF5
triadic
#866DF5 #F5866D #6DF586
tetradic
#866DF5 #F56D98 #DCF56D #6DF5CA
square
#866DF5 #F56D98 #DCF56D #6DF5CA
split-complementary
#866DF5 #F5CA6D #98F56D
monochromatic
#340FD9 #5734F1 #866DF5 #B5A6F9 #E5E0FD

Accessibility & contrast

On white

3.80
#866DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#866DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DF5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DF5#FFFFFF#000000##000000
##866DF51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#1B7FF2
Tritanopia (blue-blind)
#638BA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866df5;
/* rgb */ color: rgb(134, 109, 245);
/* oklch */ color: oklch(62.7% 0.195 287.9);
Tailwind
colors: {
  custom: {
    50: '#b097f9',
    500: '#866df5',
    950: '#000000',
  },
}
SCSS
$custom: #866df5;
$custom-light: #b097f9;
$custom-dark: #000000;
JSON
{
  "hex": "#866df5",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 251.029,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.1954,
    "h": 287.9
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#866DF5
secondary
#EBF2CB
accent
#E402BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #866DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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