#866AE2#866AE2

#866AE2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.9% C 0.175 H 291.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#866AE2
RGBrgb(134, 106, 226)
HSLhsl(254, 67%, 65%)
HSVhsv(254, 53%, 89%)
CMYKcmyk(40.7%, 53.1%, 0%, 11.4%)
CIE-LABlab(52.80, 38.91, -57.57)
CIE-LCHlch(52.80, 69.49, 304.06°)
OKLaboklab(60.92% 0.0629 -0.1635)
OKLCHoklch(60.92% 0.175 291)
XYZxyz(28.7093, 20.8665, 74.4518)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AE2 #C6E26A
analogous
#6A8AE2 #866AE2 #C26AE2
triadic
#866AE2 #E2866A #6AE286
tetradic
#866AE2 #E26A8A #C6E26A #6AE2C2
square
#866AE2 #E26A8A #C6E26A #6AE2C2
split-complementary
#866AE2 #E2C26A #8AE26A
monochromatic
#4322AF #5C37D8 #866AE2 #B09DEC #D9D0F6

Accessibility & contrast

On white

4.06
#866AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#866AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AE2#FFFFFF#000000##000000
##866AE21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#6D839C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866ae2;
/* rgb */ color: rgb(134, 106, 226);
/* oklch */ color: oklch(60.9% 0.175 291.0);
Tailwind
colors: {
  custom: {
    50: '#ae95ec',
    500: '#866ae2',
    950: '#000000',
  },
}
SCSS
$custom: #866ae2;
$custom-light: #ae95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866ae2",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 254,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.17519,
    "h": 291
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#866AE2
secondary
#DFE8C0
accent
#CF16A4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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