#866DCC#866DCC

#866DCC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.1% C 0.142 H 293.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#866DCC
RGBrgb(134, 109, 204)
HSLhsl(256, 48%, 61%)
HSVhsv(256, 47%, 80%)
CMYKcmyk(34.3%, 46.6%, 0%, 20%)
CIE-LABlab(52.25, 31.22, -46.00)
CIE-LCHlch(52.25, 55.59, 304.17°)
OKLaboklab(60.1% 0.0572 -0.1296)
OKLCHoklch(60.1% 0.142 293.8)
XYZxyz(26.1964, 20.3647, 59.6656)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DCC #B3CC6D
analogous
#6D84CC #866DCC #B56DCC
triadic
#866DCC #CC866D #6DCC86
tetradic
#866DCC #CC6D84 #B3CC6D #6DCCB5
square
#866DCC #CC6D84 #B3CC6D #6DCCB5
split-complementary
#866DCC #CCB56D #84CC6D
monochromatic
#4A318D #6141BB #866DCC #AC9ADC #D1C8EC

Accessibility & contrast

On white

4.14
#866DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#866DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DCC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DCC#FFFFFF#000000##000000
##866DCC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#767F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866dcc;
/* rgb */ color: rgb(134, 109, 204);
/* oklch */ color: oklch(60.1% 0.142 293.8);
Tailwind
colors: {
  custom: {
    50: '#ac97dc',
    500: '#866dcc',
    950: '#000000',
  },
}
SCSS
$custom: #866dcc;
$custom-light: #ac97dc;
$custom-dark: #000000;
JSON
{
  "hex": "#866dcc",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 255.789,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.14166,
    "h": 293.8
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#866DCC
secondary
#D3DCB9
accent
#BC2A95
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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