#866BE1#866BE1

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

Color values

HEX#866BE1
RGBrgb(134, 107, 225)
HSLhsl(254, 66%, 65%)
HSVhsv(254, 52%, 88%)
CMYKcmyk(40.4%, 52.4%, 0%, 11.8%)
CIE-LABlab(52.97, 38.06, -56.74)
CIE-LCHlch(52.97, 68.33, 303.85°)
OKLaboklab(61.02% 0.0616 -0.1611)
OKLCHoklch(61.02% 0.172 290.9)
XYZxyz(28.6761, 21.0191, 73.7658)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BE1 #C6E16B
analogous
#6B8BE1 #866BE1 #C16BE1
triadic
#866BE1 #E1866B #6BE186
tetradic
#866BE1 #E16B8B #C6E16B #6BE1C1
square
#866BE1 #E16B8B #C6E16B #6BE1C1
split-complementary
#866BE1 #E1C16B #8BE16B
monochromatic
#4323AE #5C38D7 #866BE1 #B09EEB #D9D1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##866BE1#FFFFFF#000000##000000
##866BE11.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)
#3680E5
Deuteranopia (green-blind)
#3A7CDE
Tritanopia (blue-blind)
#6D849C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #866be1;
/* rgb */ color: rgb(134, 107, 225);
/* oklch */ color: oklch(61.0% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#ae96eb',
    500: '#866be1',
    950: '#000000',
  },
}
SCSS
$custom: #866be1;
$custom-light: #ae96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#866be1",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 225
  },
  "hsl": {
    "h": 253.729,
    "s": 66.292,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.17246,
    "h": 290.9
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #866BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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