#866FC3#866FC3

#866FC3 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.126 H 294.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866FC3
RGBrgb(134, 111, 195)
HSLhsl(256, 41%, 60%)
HSVhsv(256, 43%, 76%)
CMYKcmyk(31.3%, 43.1%, 0%, 23.5%)
CIE-LABlab(52.26, 27.68, -40.83)
CIE-LCHlch(52.26, 49.33, 304.13°)
OKLaboklab(59.95% 0.0532 -0.1145)
OKLCHoklch(59.95% 0.126 294.9)
XYZxyz(25.3638, 20.3770, 54.2160)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FC3 #ACC36F
analogous
#6F82C3 #866FC3 #B06FC3
triadic
#866FC3 #C3866F #6FC386
tetradic
#866FC3 #C36F82 #ACC36F #6FC3B0
square
#866FC3 #C36F82 #ACC36F #6FC3B0
split-complementary
#866FC3 #C3B06F #82C36F
monochromatic
#4B3682 #6448AD #866FC3 #AA9AD5 #CFC5E7

Accessibility & contrast

On white

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

On black

5.08
#866FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FC3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FC3#FFFFFF#000000##000000
##866FC31.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC6
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#797E90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866fc3;
/* rgb */ color: rgb(134, 111, 195);
/* oklch */ color: oklch(60.0% 0.126 294.9);
Tailwind
colors: {
  custom: {
    50: '#ab98d5',
    500: '#866fc3',
    950: '#000000',
  },
}
SCSS
$custom: #866fc3;
$custom-light: #ab98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#866fc3",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 195
  },
  "hsl": {
    "h": 256.429,
    "s": 41.176,
    "l": 60
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.12627,
    "h": 294.9
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#866FC3
secondary
#CED7B7
accent
#D157B0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #866FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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