#866CCC#866CCC

#866CCC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.9% C 0.143 H 294.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#866CCC
RGBrgb(134, 108, 204)
HSLhsl(256, 48%, 61%)
HSVhsv(256, 47%, 80%)
CMYKcmyk(34.3%, 47.1%, 0%, 20%)
CIE-LABlab(52.01, 31.81, -46.37)
CIE-LCHlch(52.01, 56.23, 304.45°)
OKLaboklab(59.92% 0.0586 -0.1307)
OKLCHoklch(59.92% 0.143 294.1)
XYZxyz(26.0904, 20.1526, 59.6303)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CCC #B2CC6C
analogous
#6C82CC #866CCC #B66CCC
triadic
#866CCC #CC866C #6CCC86
tetradic
#866CCC #CC6C82 #B2CC6C #6CCCB6
square
#866CCC #CC6C82 #B2CC6C #6CCCB6
split-complementary
#866CCC #CCB66C #82CC6C
monochromatic
#4A318D #6241BA #866CCC #AB99DC #D1C7EC

Accessibility & contrast

On white

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

On black

5.03
#866CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CCC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CCC#FFFFFF#000000##000000
##866CCC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#767E92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866ccc;
/* rgb */ color: rgb(134, 108, 204);
/* oklch */ color: oklch(59.9% 0.143 294.1);
Tailwind
colors: {
  custom: {
    50: '#ac96dc',
    500: '#866ccc',
    950: '#000000',
  },
}
SCSS
$custom: #866ccc;
$custom-light: #ac96dc;
$custom-dark: #000000;
JSON
{
  "hex": "#866ccc",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 256.25,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.14321,
    "h": 294.1
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#866CCC
secondary
#D2DCB8
accent
#BC2A94
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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