#866CCF#866CCF

#866CCF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.147 H 293.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#866CCF
RGBrgb(134, 108, 207)
HSLhsl(256, 51%, 62%)
HSVhsv(256, 48%, 81%)
CMYKcmyk(35.3%, 47.8%, 0%, 18.8%)
CIE-LABlab(52.17, 32.61, -47.82)
CIE-LCHlch(52.17, 57.88, 304.29°)
OKLaboklab(60.09% 0.0589 -0.1349)
OKLCHoklch(60.09% 0.147 293.6)
XYZxyz(26.4536, 20.2979, 61.5435)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CCF #B5CF6C
analogous
#6C84CF #866CCF #B86CCF
triadic
#866CCF #CF866C #6CCF86
tetradic
#866CCF #CF6C84 #B5CF6C #6CCFB8
square
#866CCF #CF6C84 #B5CF6C #6CCFB8
split-complementary
#866CCF #CFB86C #84CF6C
monochromatic
#492F91 #603EBF #866CCF #AC9ADE #D2C8ED

Accessibility & contrast

On white

4.15
#866CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#866CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CCF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CCF#FFFFFF#000000##000000
##866CCF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#747F94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866ccf;
/* rgb */ color: rgb(134, 108, 207);
/* oklch */ color: oklch(60.1% 0.147 293.6);
Tailwind
colors: {
  custom: {
    50: '#ac96de',
    500: '#866ccf',
    950: '#000000',
  },
}
SCSS
$custom: #866ccf;
$custom-light: #ac96de;
$custom-dark: #000000;
JSON
{
  "hex": "#866ccf",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 255.758,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.14723,
    "h": 293.6
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#866CCF
secondary
#D4DEB9
accent
#BE2797
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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