#866DC1#866DC1

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

Color values

HEX#866DC1
RGBrgb(134, 109, 193)
HSLhsl(258, 40%, 59%)
HSVhsv(258, 44%, 76%)
CMYKcmyk(30.6%, 43.5%, 0%, 24.3%)
CIE-LABlab(51.67, 28.34, -40.61)
CIE-LCHlch(51.67, 49.52, 304.91°)
OKLaboklab(59.48% 0.0556 -0.1139)
OKLCHoklch(59.48% 0.127 296)
XYZxyz(24.9234, 19.8555, 52.9611)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DC1 #A8C16D
analogous
#6D7EC1 #866DC1 #B06DC1
triadic
#866DC1 #C1866D #6DC186
tetradic
#866DC1 #C16D7E #A8C16D #6DC1B0
square
#866DC1 #C16D7E #A8C16D #6DC1B0
split-complementary
#866DC1 #C1B06D #7EC16D
monochromatic
#4B367E #6548A9 #866DC1 #AA98D3 #CDC3E5

Accessibility & contrast

On white

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

On black

4.97
#866DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DC1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DC1#FFFFFF#000000##000000
##866DC11.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#587ABF
Tritanopia (blue-blind)
#797C8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866dc1;
/* rgb */ color: rgb(134, 109, 193);
/* oklch */ color: oklch(59.5% 0.127 296.0);
Tailwind
colors: {
  custom: {
    50: '#ab97d4',
    500: '#866dc1',
    950: '#000000',
  },
}
SCSS
$custom: #866dc1;
$custom-light: #ab97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#866dc1",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 257.857,
    "s": 40.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.12674,
    "h": 296
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#866DC1
secondary
#CCD5B4
accent
#D058AC
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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