#866BF2#866BF2

#866BF2 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.194 H 288.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#866BF2
RGBrgb(134, 107, 242)
HSLhsl(252, 84%, 68%)
HSVhsv(252, 56%, 95%)
CMYKcmyk(44.6%, 55.8%, 0%, 5.1%)
CIE-LABlab(54.02, 42.78, -64.57)
CIE-LCHlch(54.02, 77.46, 303.52°)
OKLaboklab(62.14% 0.0621 -0.1841)
OKLCHoklch(62.14% 0.194 288.6)
XYZxyz(31.1117, 21.9933, 86.5931)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BF2 #D7F26B
analogous
#6B93F2 #866BF2 #C96BF2
triadic
#866BF2 #F2866B #6BF286
tetradic
#866BF2 #F26B93 #D7F26B #6BF2C9
square
#866BF2 #F26B93 #D7F26B #6BF2C9
split-complementary
#866BF2 #F2C96B #93F26B
monochromatic
#3812D0 #5833ED #866BF2 #B4A3F7 #E2DCFC

Accessibility & contrast

On white

3.89
#866BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#866BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BF2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BF2#FFFFFF#000000##000000
##866BF21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#1C7EEF
Tritanopia (blue-blind)
#6589A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866bf2;
/* rgb */ color: rgb(134, 107, 242);
/* oklch */ color: oklch(62.1% 0.194 288.6);
Tailwind
colors: {
  custom: {
    50: '#b096f7',
    500: '#866bf2',
    950: '#000000',
  },
}
SCSS
$custom: #866bf2;
$custom-light: #b096f7;
$custom-dark: #000000;
JSON
{
  "hex": "#866bf2",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 252,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62135,
    "c": 0.19429,
    "h": 288.6
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#866BF2
secondary
#E9F1C8
accent
#E005B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #866BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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