#866FC0#866FC0

#866FC0 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.8% C 0.122 H 295.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#866FC0
RGBrgb(134, 111, 192)
HSLhsl(257, 39%, 59%)
HSVhsv(257, 42%, 75%)
CMYKcmyk(30.2%, 42.2%, 0%, 24.7%)
CIE-LABlab(52.11, 26.90, -39.35)
CIE-LCHlch(52.11, 47.66, 304.36°)
OKLaboklab(59.79% 0.0527 -0.1102)
OKLCHoklch(59.79% 0.122 295.5)
XYZxyz(25.0281, 20.2426, 52.4476)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FC0 #A9C06F
analogous
#6F81C0 #866FC0 #AF6FC0
triadic
#866FC0 #C0866F #6FC086
tetradic
#866FC0 #C06F81 #A9C06F #6FC0AF
square
#866FC0 #C06F81 #A9C06F #6FC0AF
split-complementary
#866FC0 #C0AF6F #81C06F
monochromatic
#4B377E #644AA8 #866FC0 #AA9AD3 #CEC4E5

Accessibility & contrast

On white

4.16
#866FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#866FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FC0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FC0#FFFFFF#000000##000000
##866FC01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577DC3
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#797E8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #866fc0;
/* rgb */ color: rgb(134, 111, 192);
/* oklch */ color: oklch(59.8% 0.122 295.5);
Tailwind
colors: {
  custom: {
    50: '#ab98d3',
    500: '#866fc0',
    950: '#000000',
  },
}
SCSS
$custom: #866fc0;
$custom-light: #ab98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#866fc0",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 257.037,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.12214,
    "h": 295.5
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#866FC0
secondary
#CCD5B6
accent
#CF59AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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