#866AEC#866AEC

#866AEC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.188 H 289.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#866AEC
RGBrgb(134, 106, 236)
HSLhsl(253, 77%, 67%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(43.2%, 55.1%, 0%, 7.5%)
CIE-LABlab(53.42, 41.67, -62.19)
CIE-LCHlch(53.42, 74.87, 303.82°)
OKLaboklab(61.57% 0.0632 -0.1771)
OKLCHoklch(61.57% 0.188 289.6)
XYZxyz(30.1216, 21.4315, 81.8902)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866AEC #D0EC6A
analogous
#6A8FEC #866AEC #C76AEC
triadic
#866AEC #EC866A #6AEC86
tetradic
#866AEC #EC6A8F #D0EC6A #6AECC7
square
#866AEC #EC6A8F #D0EC6A #6AECC7
split-complementary
#866AEC #ECC76A #8FEC6A
monochromatic
#3D19C3 #5A34E5 #866AEC #B2A0F3 #DED7FA

Accessibility & contrast

On white

3.97
#866AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#866AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866AEC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866AEC#FFFFFF#000000##000000
##866AEC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#277DE9
Tritanopia (blue-blind)
#6886A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866aec;
/* rgb */ color: rgb(134, 106, 236);
/* oklch */ color: oklch(61.6% 0.188 289.6);
Tailwind
colors: {
  custom: {
    50: '#af95f3',
    500: '#866aec',
    950: '#000000',
  },
}
SCSS
$custom: #866aec;
$custom-light: #af95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#866aec",
  "rgb": {
    "r": 134,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 252.923,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.18803,
    "h": 289.6
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#866AEC
secondary
#E5EEC4
accent
#DA0CAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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