#866BEC#866BEC

#866BEC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.187 H 289.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#866BEC
RGBrgb(134, 107, 236)
HSLhsl(253, 77%, 67%)
HSVhsv(253, 55%, 93%)
CMYKcmyk(43.2%, 54.7%, 0%, 7.5%)
CIE-LABlab(53.64, 41.10, -61.83)
CIE-LCHlch(53.64, 74.25, 303.61°)
OKLaboklab(61.73% 0.062 -0.176)
OKLCHoklch(61.73% 0.187 289.4)
XYZxyz(30.2253, 21.6388, 81.9248)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BEC #D1EC6B
analogous
#6B91EC #866BEC #C76BEC
triadic
#866BEC #EC866B #6BEC86
tetradic
#866BEC #EC6B91 #D1EC6B #6BECC7
square
#866BEC #EC6B91 #D1EC6B #6BECC7
split-complementary
#866BEC #ECC76B #91EC6B
monochromatic
#3D19C4 #5A35E5 #866BEC #B2A1F3 #DFD7FA

Accessibility & contrast

On white

3.94
#866BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#866BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BEC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BEC#FFFFFF#000000##000000
##866BEC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#2A7DE9
Tritanopia (blue-blind)
#6887A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866bec;
/* rgb */ color: rgb(134, 107, 236);
/* oklch */ color: oklch(61.7% 0.187 289.4);
Tailwind
colors: {
  custom: {
    50: '#af96f3',
    500: '#866bec',
    950: '#000000',
  },
}
SCSS
$custom: #866bec;
$custom-light: #af96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#866bec",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 252.558,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.18665,
    "h": 289.4
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#866BEC
secondary
#E5EEC5
accent
#D90CAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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