#866CD1#866CD1

#866CD1 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.150 H 293.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866CD1
RGBrgb(134, 108, 209)
HSLhsl(255, 52%, 62%)
HSVhsv(255, 48%, 82%)
CMYKcmyk(35.9%, 48.3%, 0%, 18%)
CIE-LABlab(52.28, 33.14, -48.79)
CIE-LCHlch(52.28, 58.98, 304.19°)
OKLaboklab(60.21% 0.0591 -0.1377)
OKLCHoklch(60.21% 0.15 293.2)
XYZxyz(26.6997, 20.3963, 62.8394)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CD1 #B7D16C
analogous
#6C84D1 #866CD1 #B96CD1
triadic
#866CD1 #D1866C #6CD186
tetradic
#866CD1 #D16C84 #B7D16C #6CD1B9
square
#866CD1 #D16C84 #B7D16C #6CD1B9
split-complementary
#866CD1 #D1B96C #84D16C
monochromatic
#492E94 #603DC2 #866CD1 #AC9BE0 #D3C9EE

Accessibility & contrast

On white

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

On black

5.08
#866CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CD1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CD1#FFFFFF#000000##000000
##866CD11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ED5
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#748095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866cd1;
/* rgb */ color: rgb(134, 108, 209);
/* oklch */ color: oklch(60.2% 0.150 293.2);
Tailwind
colors: {
  custom: {
    50: '#ad96df',
    500: '#866cd1',
    950: '#000000',
  },
}
SCSS
$custom: #866cd1;
$custom-light: #ad96df;
$custom-dark: #000000;
JSON
{
  "hex": "#866cd1",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 255.446,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.1499,
    "h": 293.2
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#866CD1
secondary
#D5DFBA
accent
#C02698
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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