#866AFB#866AFB

#866AFB is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.6% C 0.207 H 287.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#866AFB
RGBrgb(134, 106, 251)
HSLhsl(252, 95%, 70%)
HSVhsv(252, 58%, 98%)
CMYKcmyk(46.6%, 57.8%, 0%, 1.6%)
CIE-LABlab(54.39, 45.87, -68.98)
CIE-LCHlch(54.39, 82.84, 303.62°)
OKLaboklab(62.59% 0.0631 -0.1971)
OKLCHoklch(62.59% 0.207 287.8)
XYZxyz(32.3931, 22.3401, 93.8533)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AFB #DFFB6A
analogous
#6A97FB #866AFB #CE6AFB
triadic
#866AFB #FB866A #6AFB86
tetradic
#866AFB #FB6A97 #DFFB6A #6AFBCE
square
#866AFB #FB6A97 #DFFB6A #6AFBCE
split-complementary
#866AFB #FBCE6A #97FB6A
monochromatic
#3106E4 #562EF9 #866AFB #B6A6FD #E7E1FE

Accessibility & contrast

On white

3.84
#866AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#866AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AFB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AFB#FFFFFF#000000##000000
##866AFB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#608BA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #866afb;
/* rgb */ color: rgb(134, 106, 251);
/* oklch */ color: oklch(62.6% 0.207 287.8);
Tailwind
colors: {
  custom: {
    50: '#b195fd',
    500: '#866afb',
    950: '#000000',
  },
}
SCSS
$custom: #866afb;
$custom-light: #b195fd;
$custom-dark: #000000;
JSON
{
  "hex": "#866afb",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 251.586,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.20693,
    "h": 287.8
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#866AFB
secondary
#EDF5CC
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #866AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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