#866DF8#866DF8

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

Color values

HEX#866DF8
RGBrgb(134, 109, 248)
HSLhsl(251, 91%, 70%)
HSVhsv(251, 56%, 97%)
CMYKcmyk(46%, 56%, 0%, 2.7%)
CIE-LABlab(54.85, 43.32, -66.58)
CIE-LCHlch(54.85, 79.43, 303.05°)
OKLaboklab(62.87% 0.0599 -0.19)
OKLCHoklch(62.87% 0.199 287.5)
XYZxyz(32.2385, 22.7816, 91.4874)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DF8 #DFF86D
analogous
#6D9AF8 #866DF8 #CB6DF8
triadic
#866DF8 #F8866D #6DF886
tetradic
#866DF8 #F86D9A #DFF86D #6DF8CB
square
#866DF8 #F86D9A #DFF86D #6DF8CB
split-complementary
#866DF8 #F8CB6D #9AF86D
monochromatic
#310BE0 #5633F5 #866DF8 #B6A7FB #E7E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866DF8#FFFFFF#000000##000000
##866DF81.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)
#0F87FD
Deuteranopia (green-blind)
#1080F5
Tritanopia (blue-blind)
#618CA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866df8;
/* rgb */ color: rgb(134, 109, 248);
/* oklch */ color: oklch(62.9% 0.199 287.5);
Tailwind
colors: {
  custom: {
    50: '#b097fb',
    500: '#866df8',
    950: '#000000',
  },
}
SCSS
$custom: #866df8;
$custom-light: #b097fb;
$custom-dark: #000000;
JSON
{
  "hex": "#866df8",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 250.791,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.19921,
    "h": 287.5
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#866DF8
secondary
#EDF4CD
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #866DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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