#866DC2#866DC2

#866DC2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.5% C 0.128 H 295.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#866DC2
RGBrgb(134, 109, 194)
HSLhsl(258, 41%, 59%)
HSVhsv(258, 44%, 76%)
CMYKcmyk(30.9%, 43.8%, 0%, 23.9%)
CIE-LABlab(51.72, 28.60, -41.10)
CIE-LCHlch(51.72, 50.07, 304.83°)
OKLaboklab(59.53% 0.0558 -0.1153)
OKLCHoklch(59.53% 0.128 295.8)
XYZxyz(25.0354, 19.9003, 53.5506)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DC2 #A9C26D
analogous
#6D7FC2 #866DC2 #B16DC2
triadic
#866DC2 #C2866D #6DC286
tetradic
#866DC2 #C26D7F #A9C26D #6DC2B1
square
#866DC2 #C26D7F #A9C26D #6DC2B1
split-complementary
#866DC2 #C2B16D #7FC26D
monochromatic
#4B357F #6447AB #866DC2 #AA98D4 #CEC3E6

Accessibility & contrast

On white

4.22
#866DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#866DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DC2#FFFFFF#000000##000000
##866DC21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#797C8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866dc2;
/* rgb */ color: rgb(134, 109, 194);
/* oklch */ color: oklch(59.5% 0.128 295.8);
Tailwind
colors: {
  custom: {
    50: '#ab97d5',
    500: '#866dc2',
    950: '#000000',
  },
}
SCSS
$custom: #866dc2;
$custom-light: #ab97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#866dc2",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 257.647,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.1281,
    "h": 295.8
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#866DC2
secondary
#CCD6B5
accent
#D157AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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