#866ECD#866ECD

#866ECD is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.3% C 0.141 H 293.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#866ECD
RGBrgb(134, 110, 205)
HSLhsl(255, 49%, 62%)
HSVhsv(255, 46%, 80%)
CMYKcmyk(34.6%, 46.3%, 0%, 19.6%)
CIE-LABlab(52.54, 30.90, -46.10)
CIE-LCHlch(52.54, 55.50, 303.83°)
OKLaboklab(60.33% 0.056 -0.1299)
OKLCHoklch(60.33% 0.141 293.3)
XYZxyz(26.4240, 20.6274, 60.3351)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866ECD #B5CD6E
analogous
#6E86CD #866ECD #B66ECD
triadic
#866ECD #CD866E #6ECD86
tetradic
#866ECD #CD6E86 #B5CD6E #6ECDB6
square
#866ECD #CD6E86 #B5CD6E #6ECDB6
split-complementary
#866ECD #CDB66E #86CD6E
monochromatic
#49318F #6041BD #866ECD #AC9CDD #D2C9EC

Accessibility & contrast

On white

4.10
#866ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#866ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866ECD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866ECD#FFFFFF#000000##000000
##866ECD1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#758094
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866ecd;
/* rgb */ color: rgb(134, 110, 205);
/* oklch */ color: oklch(60.3% 0.141 293.3);
Tailwind
colors: {
  custom: {
    50: '#ac98dd',
    500: '#866ecd',
    950: '#000000',
  },
}
SCSS
$custom: #866ecd;
$custom-light: #ac98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#866ecd",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 255.158,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.14146,
    "h": 293.3
  },
  "luminance": 0.20628
}

Semantic roles & 50–950 ramp

primary
#866ECD
secondary
#D4DDBA
accent
#BC2997
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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