#866CFE#866CFE

#866CFE is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.1% C 0.208 H 287.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#866CFE
RGBrgb(134, 108, 254)
HSLhsl(251, 99%, 71%)
HSVhsv(251, 57%, 100%)
CMYKcmyk(47.2%, 57.5%, 0%, 0.4%)
CIE-LABlab(55.02, 45.59, -69.62)
CIE-LCHlch(55.02, 83.22, 303.22°)
OKLaboklab(63.12% 0.061 -0.1989)
OKLCHoklch(63.12% 0.208 287)
XYZxyz(33.0783, 22.9478, 96.4332)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CFE #E4FE6C
analogous
#6C9BFE #866CFE #CF6CFE
triadic
#866CFE #FE866C #6CFE86
tetradic
#866CFE #FE6C9B #E4FE6C #6CFECF
square
#866CFE #FE6C9B #E4FE6C #6CFECF
split-complementary
#866CFE #FECF6C #9BFE6C
monochromatic
#2C02EE #542FFE #866CFE #B8A9FE #E6E1FF

Accessibility & contrast

On white

3.76
#866CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#866CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CFE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CFE#FFFFFF#000000##000000
##866CFE1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#5D8DAB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #866cfe;
/* rgb */ color: rgb(134, 108, 254);
/* oklch */ color: oklch(63.1% 0.208 287.0);
Tailwind
colors: {
  custom: {
    50: '#b197ff',
    500: '#866cfe',
    950: '#000000',
  },
}
SCSS
$custom: #866cfe;
$custom-light: #b197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#866cfe",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 250.685,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63119,
    "c": 0.20807,
    "h": 287
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#866CFE
secondary
#EFF6CF
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #866CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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