#866BDD#866BDD

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

Color values

HEX#866BDD
RGBrgb(134, 107, 221)
HSLhsl(254, 63%, 64%)
HSVhsv(254, 52%, 87%)
CMYKcmyk(39.4%, 51.6%, 0%, 13.3%)
CIE-LABlab(52.73, 36.97, -54.87)
CIE-LCHlch(52.73, 66.16, 303.97°)
OKLaboklab(60.77% 0.0614 -0.1556)
OKLCHoklch(60.77% 0.167 291.5)
XYZxyz(28.1368, 20.8034, 70.9256)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BDD #C2DD6B
analogous
#6B89DD #866BDD #BF6BDD
triadic
#866BDD #DD866B #6BDD86
tetradic
#866BDD #DD6B89 #C2DD6B #6BDDBF
square
#866BDD #DD6B89 #C2DD6B #6BDDBF
split-complementary
#866BDD #DDBF6B #89DD6B
monochromatic
#4526A7 #5D39D2 #866BDD #AF9DE8 #D7CFF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866BDD#FFFFFF#000000##000000
##866BDD1.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)
#3A80E1
Deuteranopia (green-blind)
#3F7CDA
Tritanopia (blue-blind)
#6F829A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866bdd;
/* rgb */ color: rgb(134, 107, 221);
/* oklch */ color: oklch(60.8% 0.167 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae96e8',
    500: '#866bdd',
    950: '#000000',
  },
}
SCSS
$custom: #866bdd;
$custom-light: #ae96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#866bdd",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 254.211,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.16725,
    "h": 291.5
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#866BDD
secondary
#DCE6BE
accent
#CA1BA1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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