#866FCD#866FCD

#866FCD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.140 H 293.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#866FCD
RGBrgb(134, 111, 205)
HSLhsl(255, 48%, 62%)
HSVhsv(255, 46%, 80%)
CMYKcmyk(34.6%, 45.9%, 0%, 19.6%)
CIE-LABlab(52.78, 30.32, -45.72)
CIE-LCHlch(52.78, 54.86, 303.55°)
OKLaboklab(60.51% 0.0547 -0.1288)
OKLCHoklch(60.51% 0.14 293)
XYZxyz(26.5325, 20.8444, 60.3712)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FCD #B6CD6F
analogous
#6F87CD #866FCD #B56FCD
triadic
#866FCD #CD866F #6FCD86
tetradic
#866FCD #CD6F87 #B6CD6F #6FCDB5
square
#866FCD #CD6F87 #B6CD6F #6FCDB5
split-complementary
#866FCD #CDB56F #87CD6F
monochromatic
#493290 #6042BD #866FCD #AC9CDD #D2CAED

Accessibility & contrast

On white

4.06
#866FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#866FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FCD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FCD#FFFFFF#000000##000000
##866FCD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#758194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866fcd;
/* rgb */ color: rgb(134, 111, 205);
/* oklch */ color: oklch(60.5% 0.140 293.0);
Tailwind
colors: {
  custom: {
    50: '#ac98dd',
    500: '#866fcd',
    950: '#000000',
  },
}
SCSS
$custom: #866fcd;
$custom-light: #ac98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#866fcd",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 254.681,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.13991,
    "h": 293
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#866FCD
secondary
#D5DDBB
accent
#BC2A98
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #866FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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