#866EBA#866EBA

#866EBA is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.3% C 0.116 H 297.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#866EBA
RGBrgb(134, 110, 186)
HSLhsl(259, 36%, 58%)
HSVhsv(259, 41%, 73%)
CMYKcmyk(28%, 40.9%, 0%, 27.1%)
CIE-LABlab(51.57, 25.95, -36.74)
CIE-LCHlch(51.57, 44.98, 305.23°)
OKLaboklab(59.29% 0.053 -0.1026)
OKLCHoklch(59.29% 0.116 297.3)
XYZxyz(24.2683, 19.7651, 48.9813)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EBA #A2BA6E
analogous
#6E7CBA #866EBA #AC6EBA
triadic
#866EBA #BA866E #6EBA86
tetradic
#866EBA #BA6E7C #A2BA6E #6EBAAC
square
#866EBA #BA6E7C #A2BA6E #6EBAAC
split-complementary
#866EBA #BAAC6E #7CBA6E
monochromatic
#4B3876 #664C9F #866EBA #A997CE #CBC1E1

Accessibility & contrast

On white

4.24
#866EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#866EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EBA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EBA#FFFFFF#000000##000000
##866EBA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#7B7B8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #866eba;
/* rgb */ color: rgb(134, 110, 186);
/* oklch */ color: oklch(59.3% 0.116 297.3);
Tailwind
colors: {
  custom: {
    50: '#ab98cf',
    500: '#866eba',
    950: '#000000',
  },
}
SCSS
$custom: #866eba;
$custom-light: #ab98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#866eba",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 258.947,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.11552,
    "h": 297.3
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#866EBA
secondary
#C7D1B3
accent
#CC5CA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #866EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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