#866DF7#866DF7

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

Color values

HEX#866DF7
RGBrgb(134, 109, 247)
HSLhsl(251, 90%, 70%)
HSVhsv(251, 56%, 97%)
CMYKcmyk(45.7%, 55.9%, 0%, 3.1%)
CIE-LABlab(54.78, 43.04, -66.12)
CIE-LCHlch(54.78, 78.90, 303.06°)
OKLaboklab(62.8% 0.0599 -0.1887)
OKLCHoklch(62.8% 0.198 287.6)
XYZxyz(32.0838, 22.7197, 90.6725)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DF7 #DEF76D
analogous
#6D99F7 #866DF7 #CB6DF7
triadic
#866DF7 #F7866D #6DF786
tetradic
#866DF7 #F76D99 #DEF76D #6DF7CB
square
#866DF7 #F76D99 #DEF76D #6DF7CB
split-complementary
#866DF7 #F7CB6D #99F76D
monochromatic
#320CDD #5633F4 #866DF7 #B6A7FA #E6E1FD

Accessibility & contrast

On white

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

On black

5.54
#866DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DF7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DF7#FFFFFF#000000##000000
##866DF71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1386FC
Deuteranopia (green-blind)
#147FF4
Tritanopia (blue-blind)
#628CA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #866df7;
/* rgb */ color: rgb(134, 109, 247);
/* oklch */ color: oklch(62.8% 0.198 287.6);
Tailwind
colors: {
  custom: {
    50: '#b097fb',
    500: '#866df7',
    950: '#000000',
  },
}
SCSS
$custom: #866df7;
$custom-light: #b097fb;
$custom-dark: #000000;
JSON
{
  "hex": "#866df7",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 250.87,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.628,
    "c": 0.19794,
    "h": 287.6
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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