#866ECA#866ECA

#866ECA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.2% C 0.137 H 293.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#866ECA
RGBrgb(134, 110, 202)
HSLhsl(256, 46%, 61%)
HSVhsv(256, 46%, 79%)
CMYKcmyk(33.7%, 45.5%, 0%, 20.8%)
CIE-LABlab(52.38, 30.11, -44.64)
CIE-LCHlch(52.38, 53.85, 303.99°)
OKLaboklab(60.16% 0.0556 -0.1256)
OKLCHoklch(60.16% 0.137 293.9)
XYZxyz(26.0654, 20.4840, 58.4462)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866ECA #B2CA6E
analogous
#6E84CA #866ECA #B46ECA
triadic
#866ECA #CA866E #6ECA86
tetradic
#866ECA #CA6E84 #B2CA6E #6ECAB4
square
#866ECA #CA6E84 #B2CA6E #6ECAB4
split-complementary
#866ECA #CAB46E #84CA6E
monochromatic
#4A338B #6243B8 #866ECA #AB9BDA #D1C8EB

Accessibility & contrast

On white

4.12
#866ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#866ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866ECA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866ECA#FFFFFF#000000##000000
##866ECA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#767F92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #866eca;
/* rgb */ color: rgb(134, 110, 202);
/* oklch */ color: oklch(60.2% 0.137 293.9);
Tailwind
colors: {
  custom: {
    50: '#ac98da',
    500: '#866eca',
    950: '#000000',
  },
}
SCSS
$custom: #866eca;
$custom-light: #ac98da;
$custom-dark: #000000;
JSON
{
  "hex": "#866eca",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 255.652,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.1374,
    "h": 293.9
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#866ECA
secondary
#D2DBB9
accent
#BA2C95
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #866ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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