#8861BA#8861BA

#8861BA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.137 H 302.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8861BA
RGBrgb(136, 97, 186)
HSLhsl(266, 39%, 55%)
HSVhsv(266, 48%, 73%)
CMYKcmyk(26.9%, 47.8%, 0%, 27.1%)
CIE-LABlab(48.67, 34.12, -41.30)
CIE-LCHlch(48.67, 53.57, 309.56°)
OKLaboklab(57.15% 0.0738 -0.1158)
OKLCHoklch(57.15% 0.137 302.5)
XYZxyz(23.2890, 17.3288, 48.5627)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8861BA #93BA61
analogous
#6166BA #8861BA #B461BA
triadic
#8861BA #BA8861 #61BA88
tetradic
#8861BA #BA6166 #93BA61 #61BAB4
square
#8861BA #BA6166 #93BA61 #61BAB4
split-complementary
#8861BA #BAB461 #66BA61
monochromatic
#4C3170 #6A439A #8861BA #A88CCD #C8B6DF

Accessibility & contrast

On white

4.70
#8861BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8861BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8861BA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8861BA#FFFFFF#000000##FFFFFF
##8861BA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#5173B8
Tritanopia (blue-blind)
#7F7185
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8861ba;
/* rgb */ color: rgb(136, 97, 186);
/* oklch */ color: oklch(57.1% 0.137 302.5);
Tailwind
colors: {
  custom: {
    50: '#ad8fcf',
    500: '#8861ba',
    950: '#000000',
  },
}
SCSS
$custom: #8861ba;
$custom-light: #ad8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8861ba",
  "rgb": {
    "r": 136,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 266.292,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.13735,
    "h": 302.5
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#8861BA
secondary
#BECEA9
accent
#CF599B
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8861BA

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

Preview Lab → · Contrast checker → · Palette generator →

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