#866BE7#866BE7

#866BE7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.180 H 290.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#866BE7
RGBrgb(134, 107, 231)
HSLhsl(253, 72%, 66%)
HSVhsv(253, 54%, 91%)
CMYKcmyk(42%, 53.7%, 0%, 9.4%)
CIE-LABlab(53.33, 39.72, -59.53)
CIE-LCHlch(53.33, 71.56, 303.71°)
OKLaboklab(61.41% 0.0619 -0.1693)
OKLCHoklch(61.41% 0.18 290.1)
XYZxyz(29.5090, 21.3523, 78.1524)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BE7 #CCE76B
analogous
#6B8EE7 #866BE7 #C46BE7
triadic
#866BE7 #E7866B #6BE786
tetradic
#866BE7 #E76B8E #CCE76B #6BE7C4
square
#866BE7 #E76B8E #CCE76B #6BE7C4
split-complementary
#866BE7 #E7C46B #8EE76B
monochromatic
#401EBA #5B36DE #866BE7 #B1A0F0 #DCD4F8

Accessibility & contrast

On white

3.98
#866BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#866BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BE7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BE7#FFFFFF#000000##000000
##866BE71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#327DE4
Tritanopia (blue-blind)
#6A859F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866be7;
/* rgb */ color: rgb(134, 107, 231);
/* oklch */ color: oklch(61.4% 0.180 290.1);
Tailwind
colors: {
  custom: {
    50: '#af96ef',
    500: '#866be7',
    950: '#000000',
  },
}
SCSS
$custom: #866be7;
$custom-light: #af96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866be7",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 253.065,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61407,
    "c": 0.18023,
    "h": 290.1
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#866BE7
secondary
#E2EBC3
accent
#D411AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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