#866CCD#866CCD

#866CCD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.145 H 293.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#866CCD
RGBrgb(134, 108, 205)
HSLhsl(256, 49%, 61%)
HSVhsv(256, 47%, 80%)
CMYKcmyk(34.6%, 47.3%, 0%, 19.6%)
CIE-LABlab(52.06, 32.07, -46.86)
CIE-LCHlch(52.06, 56.78, 304.39°)
OKLaboklab(59.98% 0.0587 -0.1321)
OKLCHoklch(59.98% 0.145 293.9)
XYZxyz(26.2107, 20.2007, 60.2640)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CCD #B3CD6C
analogous
#6C83CD #866CCD #B76CCD
triadic
#866CCD #CD866C #6CCD86
tetradic
#866CCD #CD6C83 #B3CD6C #6CCDB7
square
#866CCD #CD6C83 #B3CD6C #6CCDB7
split-complementary
#866CCD #CDB76C #83CD6C
monochromatic
#4A308E #6140BC #866CCD #AC9ADD #D1C7EC

Accessibility & contrast

On white

4.17
#866CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#866CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CCD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CCD#FFFFFF#000000##000000
##866CCD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#757F93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866ccd;
/* rgb */ color: rgb(134, 108, 205);
/* oklch */ color: oklch(60.0% 0.145 293.9);
Tailwind
colors: {
  custom: {
    50: '#ac96dd',
    500: '#866ccd',
    950: '#000000',
  },
}
SCSS
$custom: #866ccd;
$custom-light: #ac96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#866ccd",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 256.082,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.14455,
    "h": 293.9
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#866CCD
secondary
#D3DDB8
accent
#BD2995
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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