#866FC2#866FC2

#866FC2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.125 H 295.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#866FC2
RGBrgb(134, 111, 194)
HSLhsl(257, 40%, 60%)
HSVhsv(257, 43%, 76%)
CMYKcmyk(30.9%, 42.8%, 0%, 23.9%)
CIE-LABlab(52.21, 27.42, -40.34)
CIE-LCHlch(52.21, 48.77, 304.21°)
OKLaboklab(59.9% 0.053 -0.1131)
OKLCHoklch(59.9% 0.125 295.1)
XYZxyz(25.2512, 20.3319, 53.6226)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FC2 #ABC26F
analogous
#6F81C2 #866FC2 #B06FC2
triadic
#866FC2 #C2866F #6FC286
tetradic
#866FC2 #C26F81 #ABC26F #6FC2B0
square
#866FC2 #C26F81 #ABC26F #6FC2B0
split-complementary
#866FC2 #C2B06F #81C26F
monochromatic
#4B3680 #6449AB #866FC2 #AA9AD4 #CEC5E6

Accessibility & contrast

On white

4.14
#866FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#866FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FC2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FC2#FFFFFF#000000##000000
##866FC21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#5A7BC0
Tritanopia (blue-blind)
#797E8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866fc2;
/* rgb */ color: rgb(134, 111, 194);
/* oklch */ color: oklch(59.9% 0.125 295.1);
Tailwind
colors: {
  custom: {
    50: '#ab98d5',
    500: '#866fc2',
    950: '#000000',
  },
}
SCSS
$custom: #866fc2;
$custom-light: #ab98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#866fc2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 256.627,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.1249,
    "h": 295.1
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#866FC2
secondary
#CED6B6
accent
#D057AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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