#9861BB#9861BB

#9861BB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.144 H 310.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9861BB
RGBrgb(152, 97, 187)
HSLhsl(277, 40%, 56%)
HSVhsv(277, 48%, 73%)
CMYKcmyk(18.7%, 48.1%, 0%, 26.7%)
CIE-LABlab(50.47, 38.87, -38.93)
CIE-LCHlch(50.47, 55.01, 314.96°)
OKLaboklab(58.9% 0.094 -0.1085)
OKLCHoklch(58.9% 0.144 310.9)
XYZxyz(26.1916, 18.8131, 49.2556)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861BB #84BB61
analogous
#6B61BB #9861BB #BB61B1
triadic
#9861BB #BB9861 #61BB98
tetradic
#9861BB #BB6B61 #84BB61 #61B1BB
square
#9861BB #BB6B61 #84BB61 #61B1BB
split-complementary
#9861BB #B1BB61 #61BB6B
monochromatic
#583171 #79439C #9861BB #B48CCD #D0B7E0

Accessibility & contrast

On white

4.41
#9861BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9861BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861BB#FFFFFF#000000##000000
##9861BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#946F85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9861bb;
/* rgb */ color: rgb(152, 97, 187);
/* oklch */ color: oklch(58.9% 0.144 310.9);
Tailwind
colors: {
  custom: {
    50: '#b88fd0',
    500: '#9861bb',
    950: '#000000',
  },
}
SCSS
$custom: #9861bb;
$custom-light: #b88fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9861bb",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 276.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.14356,
    "h": 310.9
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#9861BB
secondary
#B8CFA9
accent
#D05887
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9861BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9861BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva