#866CDF#866CDF

#866CDF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.168 H 291.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#866CDF
RGBrgb(134, 108, 223)
HSLhsl(254, 64%, 65%)
HSVhsv(254, 52%, 87%)
CMYKcmyk(39.9%, 51.6%, 0%, 12.5%)
CIE-LABlab(53.08, 36.94, -55.44)
CIE-LCHlch(53.08, 66.62, 303.67°)
OKLaboklab(61.07% 0.0603 -0.1572)
OKLCHoklch(61.07% 0.168 291)
XYZxyz(28.5097, 21.1203, 72.3722)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CDF #C5DF6C
analogous
#6C8CDF #866CDF #BF6CDF
triadic
#866CDF #DF866C #6CDF86
tetradic
#866CDF #DF6C8C #C5DF6C #6CDFBF
square
#866CDF #DF6C8C #C5DF6C #6CDFBF
split-complementary
#866CDF #DFBF6C #8CDF6C
monochromatic
#4425AB #5D3AD4 #866CDF #AF9EEA #D9D1F5

Accessibility & contrast

On white

4.02
#866CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#866CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CDF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CDF#FFFFFF#000000##000000
##866CDF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#6E849B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866cdf;
/* rgb */ color: rgb(134, 108, 223);
/* oklch */ color: oklch(61.1% 0.168 291.0);
Tailwind
colors: {
  custom: {
    50: '#ae96ea',
    500: '#866cdf',
    950: '#000000',
  },
}
SCSS
$custom: #866cdf;
$custom-light: #ae96ea;
$custom-dark: #000000;
JSON
{
  "hex": "#866cdf",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 253.565,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.16841,
    "h": 291
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#866CDF
secondary
#DEE7C0
accent
#CC19A4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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