#8861EB#8861EB

#8861EB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.199 H 292.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8861EB
RGBrgb(136, 97, 235)
HSLhsl(257, 78%, 65%)
HSVhsv(257, 59%, 92%)
CMYKcmyk(42.1%, 58.7%, 0%, 7.8%)
CIE-LABlab(51.59, 46.89, -64.58)
CIE-LCHlch(51.59, 79.80, 305.99°)
OKLaboklab(60.25% 0.0759 -0.1841)
OKLCHoklch(60.25% 0.199 292.4)
XYZxyz(29.4193, 19.7809, 80.8492)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8861EB #C4EB61
analogous
#617FEB #8861EB #CD61EB
triadic
#8861EB #EB8861 #61EB88
tetradic
#8861EB #EB617F #C4EB61 #61EBCD
square
#8861EB #EB617F #C4EB61 #61EBCD
split-complementary
#8861EB #EBCD61 #7FEB61
monochromatic
#4518BA #5F2BE4 #8861EB #B197F2 #DACEF9

Accessibility & contrast

On white

4.24
#8861EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8861EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8861EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8861EB#FFFFFF#000000##000000
##8861EB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0D78E8
Tritanopia (blue-blind)
#6C809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8861eb;
/* rgb */ color: rgb(136, 97, 235);
/* oklch */ color: oklch(60.2% 0.199 292.4);
Tailwind
colors: {
  custom: {
    50: '#b18ff2',
    500: '#8861eb',
    950: '#000000',
  },
}
SCSS
$custom: #8861eb;
$custom-light: #b18ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8861eb",
  "rgb": {
    "r": 136,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 256.957,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.1991,
    "h": 292.4
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#8861EB
secondary
#DEEBBD
accent
#DA0CA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8861EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8861EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva