#866CEB#866CEB

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

Color values

HEX#866CEB
RGBrgb(134, 108, 235)
HSLhsl(252, 76%, 67%)
HSVhsv(252, 54%, 92%)
CMYKcmyk(43%, 54%, 0%, 7.8%)
CIE-LABlab(53.80, 40.25, -61.01)
CIE-LCHlch(53.80, 73.10, 303.41°)
OKLaboklab(61.83% 0.0609 -0.1736)
OKLCHoklch(61.83% 0.184 289.3)
XYZxyz(30.1853, 21.7906, 81.1967)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CEB #D1EB6C
analogous
#6C92EB #866CEB #C56CEB
triadic
#866CEB #EB866C #6CEB86
tetradic
#866CEB #EB6C92 #D1EB6C #6CEBC5
square
#866CEB #EB6C92 #D1EB6C #6CEBC5
split-complementary
#866CEB #EBC56C #92EB6C
monochromatic
#3D1AC2 #5A36E4 #866CEB #B2A2F2 #DFD8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866CEB#FFFFFF#000000##000000
##866CEB1.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)
#2B83EF
Deuteranopia (green-blind)
#2E7EE8
Tritanopia (blue-blind)
#6887A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866ceb;
/* rgb */ color: rgb(134, 108, 235);
/* oklch */ color: oklch(61.8% 0.184 289.3);
Tailwind
colors: {
  custom: {
    50: '#af97f2',
    500: '#866ceb',
    950: '#000000',
  },
}
SCSS
$custom: #866ceb;
$custom-light: #af97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#866ceb",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 252.283,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.18398,
    "h": 289.3
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#866CEB
secondary
#E5EDC5
accent
#D80DAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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