#866CD2#866CD2

#866CD2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.3% C 0.151 H 293.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#866CD2
RGBrgb(134, 108, 210)
HSLhsl(255, 53%, 62%)
HSVhsv(255, 49%, 82%)
CMYKcmyk(36.2%, 48.6%, 0%, 17.6%)
CIE-LABlab(52.34, 33.41, -49.27)
CIE-LCHlch(52.34, 59.53, 304.14°)
OKLaboklab(60.27% 0.0592 -0.1391)
OKLCHoklch(60.27% 0.151 293.1)
XYZxyz(26.8239, 20.4460, 63.4935)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CD2 #B8D26C
analogous
#6C85D2 #866CD2 #B96CD2
triadic
#866CD2 #D2866C #6CD286
tetradic
#866CD2 #D26C85 #B8D26C #6CD2B9
square
#866CD2 #D26C85 #B8D26C #6CD2B9
split-complementary
#866CD2 #D2B96C #85D26C
monochromatic
#482E96 #5F3DC4 #866CD2 #AD9BE0 #D3CAEF

Accessibility & contrast

On white

4.13
#866CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#866CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CD2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CD2#FFFFFF#000000##000000
##866CD21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#738095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866cd2;
/* rgb */ color: rgb(134, 108, 210);
/* oklch */ color: oklch(60.3% 0.151 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad96e0',
    500: '#866cd2',
    950: '#000000',
  },
}
SCSS
$custom: #866cd2;
$custom-light: #ad96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#866cd2",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 255.294,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.15123,
    "h": 293.1
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#866CD2
secondary
#D6E0BA
accent
#C12599
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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