#866BEB#866BEB

#866BEB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.185 H 289.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#866BEB
RGBrgb(134, 107, 235)
HSLhsl(253, 76%, 67%)
HSVhsv(253, 54%, 92%)
CMYKcmyk(43%, 54.5%, 0%, 7.8%)
CIE-LABlab(53.58, 40.83, -61.38)
CIE-LCHlch(53.58, 73.71, 303.63°)
OKLaboklab(61.67% 0.062 -0.1747)
OKLCHoklch(61.67% 0.185 289.5)
XYZxyz(30.0804, 21.5808, 81.1618)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BEB #D0EB6B
analogous
#6B90EB #866BEB #C66BEB
triadic
#866BEB #EB866B #6BEB86
tetradic
#866BEB #EB6B90 #D0EB6B #6BEBC6
square
#866BEB #EB6B90 #D0EB6B #6BEBC6
split-complementary
#866BEB #EBC66B #90EB6B
monochromatic
#3D1AC1 #5A35E4 #866BEB #B2A1F2 #DED7FA

Accessibility & contrast

On white

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

On black

5.32
#866BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BEB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BEB#FFFFFF#000000##000000
##866BEB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#2C7DE8
Tritanopia (blue-blind)
#6887A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866beb;
/* rgb */ color: rgb(134, 107, 235);
/* oklch */ color: oklch(61.7% 0.185 289.5);
Tailwind
colors: {
  custom: {
    50: '#af96f2',
    500: '#866beb',
    950: '#000000',
  },
}
SCSS
$custom: #866beb;
$custom-light: #af96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#866beb",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 252.656,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.18537,
    "h": 289.5
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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