#866DE7#866DE7

#866DE7 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.177 H 289.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#866DE7
RGBrgb(134, 109, 231)
HSLhsl(252, 72%, 67%)
HSVhsv(252, 53%, 91%)
CMYKcmyk(42%, 52.8%, 0%, 9.4%)
CIE-LABlab(53.79, 38.57, -58.80)
CIE-LCHlch(53.79, 70.32, 303.26°)
OKLaboklab(61.74% 0.0595 -0.1671)
OKLCHoklch(61.74% 0.177 289.6)
XYZxyz(29.7199, 21.7741, 78.2227)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DE7 #CEE76D
analogous
#6D91E7 #866DE7 #C36DE7
triadic
#866DE7 #E7866D #6DE786
tetradic
#866DE7 #E76D91 #CEE76D #6DE7C3
square
#866DE7 #E76D91 #CEE76D #6DE7C3
split-complementary
#866DE7 #E7C36D #91E76D
monochromatic
#3F1FBB #5A38DE #866DE7 #B2A2F0 #DDD6F8

Accessibility & contrast

On white

3.92
#866DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#866DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DE7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DE7#FFFFFF#000000##000000
##866DE71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#367EE4
Tritanopia (blue-blind)
#6A87A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866de7;
/* rgb */ color: rgb(134, 109, 231);
/* oklch */ color: oklch(61.7% 0.177 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae97ef',
    500: '#866de7',
    950: '#000000',
  },
}
SCSS
$custom: #866de7;
$custom-light: #ae97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866de7",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 252.295,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.17741,
    "h": 289.6
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#866DE7
secondary
#E3ECC4
accent
#D412AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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