#866ECF#866ECF

#866ECF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.4% C 0.144 H 293.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#866ECF
RGBrgb(134, 110, 207)
HSLhsl(255, 50%, 62%)
HSVhsv(255, 47%, 81%)
CMYKcmyk(35.3%, 46.9%, 0%, 18.8%)
CIE-LABlab(52.65, 31.44, -47.07)
CIE-LCHlch(52.65, 56.60, 303.74°)
OKLaboklab(60.45% 0.0563 -0.1327)
OKLCHoklch(60.45% 0.144 293)
XYZxyz(26.6670, 20.7246, 61.6146)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866ECF #B7CF6E
analogous
#6E87CF #866ECF #B66ECF
triadic
#866ECF #CF866E #6ECF86
tetradic
#866ECF #CF6E87 #B7CF6E #6ECFB6
square
#866ECF #CF6E87 #B7CF6E #6ECFB6
split-complementary
#866ECF #CFB66E #87CF6E
monochromatic
#493092 #6040C0 #866ECF #AC9CDE #D3CAED

Accessibility & contrast

On white

4.08
#866ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#866ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866ECF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866ECF#FFFFFF#000000##000000
##866ECF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#748195
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866ecf;
/* rgb */ color: rgb(134, 110, 207);
/* oklch */ color: oklch(60.4% 0.144 293.0);
Tailwind
colors: {
  custom: {
    50: '#ac98de',
    500: '#866ecf',
    950: '#000000',
  },
}
SCSS
$custom: #866ecf;
$custom-light: #ac98de;
$custom-dark: #000000;
JSON
{
  "hex": "#866ecf",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 254.845,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.14416,
    "h": 293
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#866ECF
secondary
#D5DEBB
accent
#BE2899
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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