#866CD5#866CD5

#866CD5 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.155 H 292.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#866CD5
RGBrgb(134, 108, 213)
HSLhsl(255, 56%, 63%)
HSVhsv(255, 49%, 84%)
CMYKcmyk(37.1%, 49.3%, 0%, 16.5%)
CIE-LABlab(52.51, 34.22, -50.70)
CIE-LCHlch(52.51, 61.17, 304.01°)
OKLaboklab(60.45% 0.0595 -0.1434)
OKLCHoklch(60.45% 0.155 292.5)
XYZxyz(27.2011, 20.5969, 65.4803)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CD5 #BBD56C
analogous
#6C86D5 #866CD5 #BA6CD5
triadic
#866CD5 #D5866C #6CD586
tetradic
#866CD5 #D56C86 #BBD56C #6CD5BA
square
#866CD5 #D56C86 #BBD56C #6CD5BA
split-complementary
#866CD5 #D5BA6C #86D56C
monochromatic
#472C9A #5F3CC7 #866CD5 #AD9CE3 #D4CBF0

Accessibility & contrast

On white

4.10
#866CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#866CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CD5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CD5#FFFFFF#000000##000000
##866CD51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#487BD3
Tritanopia (blue-blind)
#728196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866cd5;
/* rgb */ color: rgb(134, 108, 213);
/* oklch */ color: oklch(60.5% 0.155 292.5);
Tailwind
colors: {
  custom: {
    50: '#ad96e2',
    500: '#866cd5',
    950: '#000000',
  },
}
SCSS
$custom: #866cd5;
$custom-light: #ad96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#866cd5",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 254.857,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.15522,
    "h": 292.5
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#866CD5
secondary
#D8E1BB
accent
#C3229B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #866CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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