#866CDD#866CDD

#866CDD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.166 H 291.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#866CDD
RGBrgb(134, 108, 221)
HSLhsl(254, 62%, 65%)
HSVhsv(254, 51%, 87%)
CMYKcmyk(39.4%, 51.1%, 0%, 13.3%)
CIE-LABlab(52.96, 36.39, -54.50)
CIE-LCHlch(52.96, 65.53, 303.73°)
OKLaboklab(60.94% 0.0602 -0.1545)
OKLCHoklch(60.94% 0.166 291.3)
XYZxyz(28.2417, 21.0131, 70.9605)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CDD #C3DD6C
analogous
#6C8BDD #866CDD #BE6CDD
triadic
#866CDD #DD866C #6CDD86
tetradic
#866CDD #DD6C8B #C3DD6C #6CDDBE
square
#866CDD #DD6C8B #C3DD6C #6CDDBE
split-complementary
#866CDD #DDBE6C #8BDD6C
monochromatic
#4427A8 #5D3AD2 #866CDD #AF9EE8 #D8CFF4

Accessibility & contrast

On white

4.04
#866CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#866CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CDD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CDD#FFFFFF#000000##000000
##866CDD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#6F839A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866cdd;
/* rgb */ color: rgb(134, 108, 221);
/* oklch */ color: oklch(60.9% 0.166 291.3);
Tailwind
colors: {
  custom: {
    50: '#ae96e8',
    500: '#866cdd',
    950: '#000000',
  },
}
SCSS
$custom: #866cdd;
$custom-light: #ae96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#866cdd",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 253.805,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.16578,
    "h": 291.3
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#866CDD
secondary
#DDE6BF
accent
#CA1BA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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