#866DEC#866DEC

#866DEC is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.1% C 0.184 H 289.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#866DEC
RGBrgb(134, 109, 236)
HSLhsl(252, 77%, 68%)
HSVhsv(252, 54%, 93%)
CMYKcmyk(43.2%, 53.8%, 0%, 7.5%)
CIE-LABlab(54.09, 39.96, -61.11)
CIE-LCHlch(54.09, 73.02, 303.18°)
OKLaboklab(62.07% 0.0597 -0.1739)
OKLCHoklch(62.07% 0.184 289)
XYZxyz(30.4362, 22.0606, 81.9951)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866DEC #D3EC6D
analogous
#6D93EC #866DEC #C56DEC
triadic
#866DEC #EC866D #6DEC86
tetradic
#866DEC #EC6D93 #D3EC6D #6DECC5
square
#866DEC #EC6D93 #D3EC6D #6DECC5
split-complementary
#866DEC #ECC56D #93EC6D
monochromatic
#3B1AC5 #5937E5 #866DEC #B3A3F3 #E0D9FA

Accessibility & contrast

On white

3.88
#866DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#866DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866DEC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866DEC#FFFFFF#000000##000000
##866DEC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#2F7EE9
Tritanopia (blue-blind)
#6888A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866dec;
/* rgb */ color: rgb(134, 109, 236);
/* oklch */ color: oklch(62.1% 0.184 289.0);
Tailwind
colors: {
  custom: {
    50: '#af97f3',
    500: '#866dec',
    950: '#000000',
  },
}
SCSS
$custom: #866dec;
$custom-light: #af97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#866dec",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 251.811,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.18388,
    "h": 289
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#866DEC
secondary
#E6EEC7
accent
#D90CB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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