#866CDC#866CDC

#866CDC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.164 H 291.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#866CDC
RGBrgb(134, 108, 220)
HSLhsl(254, 62%, 64%)
HSVhsv(254, 51%, 86%)
CMYKcmyk(39.1%, 50.9%, 0%, 13.7%)
CIE-LABlab(52.91, 36.12, -54.03)
CIE-LCHlch(52.91, 64.99, 303.76°)
OKLaboklab(60.88% 0.0601 -0.1531)
OKLCHoklch(60.88% 0.164 291.4)
XYZxyz(28.1089, 20.9600, 70.2610)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CDC #C2DC6C
analogous
#6C8ADC #866CDC #BE6CDC
triadic
#866CDC #DC866C #6CDC86
tetradic
#866CDC #DC6C8A #C2DC6C #6CDCBE
square
#866CDC #DC6C8A #C2DC6C #6CDCBE
split-complementary
#866CDC #DCBE6C #8ADC6C
monochromatic
#4528A6 #5D3BD0 #866CDC #AF9DE8 #D7CFF4

Accessibility & contrast

On white

4.04
#866CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#866CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CDC#FFFFFF#000000##000000
##866CDC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#6F839A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866cdc;
/* rgb */ color: rgb(134, 108, 220);
/* oklch */ color: oklch(60.9% 0.164 291.4);
Tailwind
colors: {
  custom: {
    50: '#ad96e7',
    500: '#866cdc',
    950: '#000000',
  },
}
SCSS
$custom: #866cdc;
$custom-light: #ad96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#866cdc",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 253.929,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.16447,
    "h": 291.4
  },
  "luminance": 0.20961
}

Semantic roles & 50–950 ramp

primary
#866CDC
secondary
#DCE5BE
accent
#C91CA1
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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