#866DCD#866DCD

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

Color values

HEX#866DCD
RGBrgb(134, 109, 205)
HSLhsl(256, 49%, 62%)
HSVhsv(256, 47%, 80%)
CMYKcmyk(34.6%, 46.8%, 0%, 19.6%)
CIE-LABlab(52.30, 31.49, -46.48)
CIE-LCHlch(52.30, 56.14, 304.12°)
OKLaboklab(60.15% 0.0574 -0.131)
OKLCHoklch(60.15% 0.143 293.6)
XYZxyz(26.3168, 20.4129, 60.2993)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DCD #B4CD6D
analogous
#6D84CD #866DCD #B66DCD
triadic
#866DCD #CD866D #6DCD86
tetradic
#866DCD #CD6D84 #B4CD6D #6DCDB6
square
#866DCD #CD6D84 #B4CD6D #6DCDB6
split-complementary
#866DCD #CDB66D #84CD6D
monochromatic
#49318F #6140BC #866DCD #AC9BDD #D2C8EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866DCD#FFFFFF#000000##000000
##866DCD1.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)
#4C7ED0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#757F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866dcd;
/* rgb */ color: rgb(134, 109, 205);
/* oklch */ color: oklch(60.2% 0.143 293.6);
Tailwind
colors: {
  custom: {
    50: '#ac97dd',
    500: '#866dcd',
    950: '#000000',
  },
}
SCSS
$custom: #866dcd;
$custom-light: #ac97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#866dcd",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 255.625,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.143,
    "h": 293.6
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#866DCD
secondary
#D3DDB9
accent
#BC2996
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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