#866FCC#866FCC

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

Color values

HEX#866FCC
RGBrgb(134, 111, 204)
HSLhsl(255, 48%, 62%)
HSVhsv(255, 46%, 80%)
CMYKcmyk(34.3%, 45.6%, 0%, 20%)
CIE-LABlab(52.73, 30.05, -45.24)
CIE-LCHlch(52.73, 54.31, 303.60°)
OKLaboklab(60.46% 0.0546 -0.1274)
OKLCHoklch(60.46% 0.139 293.2)
XYZxyz(26.4122, 20.7963, 59.7376)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FCC #B5CC6F
analogous
#6F87CC #866FCC #B56FCC
triadic
#866FCC #CC866F #6FCC86
tetradic
#866FCC #CC6F87 #B5CC6F #6FCCB5
square
#866FCC #CC6F87 #B5CC6F #6FCCB5
split-complementary
#866FCC #CCB56F #87CC6F
monochromatic
#49328E #6042BB #866FCC #AC9CDC #D2C9EC

Accessibility & contrast

On white

4.07
#866FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#866FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FCC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FCC#FFFFFF#000000##000000
##866FCC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#758194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866fcc;
/* rgb */ color: rgb(134, 111, 204);
/* oklch */ color: oklch(60.5% 0.139 293.2);
Tailwind
colors: {
  custom: {
    50: '#ac98dc',
    500: '#866fcc',
    950: '#000000',
  },
}
SCSS
$custom: #866fcc;
$custom-light: #ac98dc;
$custom-dark: #000000;
JSON
{
  "hex": "#866fcc",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 254.839,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.13856,
    "h": 293.2
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

primary
#866FCC
secondary
#D4DDBA
accent
#BB2B97
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #866FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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