#866CE7#866CE7

#866CE7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.6% C 0.179 H 289.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#866CE7
RGBrgb(134, 108, 231)
HSLhsl(253, 72%, 66%)
HSVhsv(253, 53%, 91%)
CMYKcmyk(42%, 53.2%, 0%, 9.4%)
CIE-LABlab(53.56, 39.14, -59.17)
CIE-LCHlch(53.56, 70.94, 303.49°)
OKLaboklab(61.57% 0.0607 -0.1682)
OKLCHoklch(61.57% 0.179 289.8)
XYZxyz(29.6139, 21.5620, 78.1874)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CE7 #CDE76C
analogous
#6C90E7 #866CE7 #C46CE7
triadic
#866CE7 #E7866C #6CE786
tetradic
#866CE7 #E76C90 #CDE76C #6CE7C4
square
#866CE7 #E76C90 #CDE76C #6CE7C4
split-complementary
#866CE7 #E7C46C #90E76C
monochromatic
#3F1EBA #5B37DE #866CE7 #B1A1F0 #DDD5F8

Accessibility & contrast

On white

3.95
#866CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#866CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CE7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CE7#FFFFFF#000000##000000
##866CE71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#6A869F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866ce7;
/* rgb */ color: rgb(134, 108, 231);
/* oklch */ color: oklch(61.6% 0.179 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae97ef',
    500: '#866ce7',
    950: '#000000',
  },
}
SCSS
$custom: #866ce7;
$custom-light: #ae97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866ce7",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 252.683,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61574,
    "c": 0.17882,
    "h": 289.8
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#866CE7
secondary
#E3EBC3
accent
#D412AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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